Merge, reject or withdraw a proposed change
POST
/v1/skills/{skillId}/changes/{changeId}
const url = 'https://shareout.site/v1/skills/example/changes/example';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"action":"merge","review_note":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://shareout.site/v1/skills/example/changes/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "action": "merge", "review_note": "example" }'merge and reject need the skill’s owner, an artifact editor or a workspace admin. withdraw is the proposer’s own call.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”skillId
required
string
changeId
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
action
required
string
review_note
string
Responses
Section titled “Responses”Reviewed
