v1
latestOpenAPI 3.1.02026-07-174721.3 KBStewardship Actions
Assign a steward to a stewardship
Assigns a user as a steward with the given role. If the user is already an active steward, the role is updated (soft-delete + re-insert). Returns the unchanged stewardship record and the full active stewards list after the operation.
post/stewardships/{id}/assign
Path parameters
idinteger required
Stewardship ID.
Request body
Example request
{
"steward": {
"userId": "abc123",
"username": "joanagmaia",
"displayName": "Joana Maia"
},
"actor": {
"userId": "auth0|abc123",
"username": "gaspergrom",
"displayName": "Gašper Grom",
"avatarUrl": "https://avatars.githubusercontent.com/u/12345"
}
}Response
Steward assigned.
Example response
{
"stewardship": {
"id": "42",
"packageId": "1234",
"version": 1,
"statusNote": "Contacted maintainer, no response after 30 days."
},
"stewards": [
{
"id": "7",
"stewardshipId": "42",
"userId": "abc123",
"username": "joanagmaia",
"displayName": "Joana Maia",
"assignedBy": "xyz789"
}
]
}