Stewardship Actions
Open a package for stewardship
Changed onTransitions the stewardship status to open, marking the package as available for claiming. If a stewardship row does not exist yet, one is created. If the stewardship is already open, this is a no-op (idempotent).
post/stewardships/open
Request
- Base URLhttps://cm.lfx.dev/api/v1/akrites
- URLhttps://cm.lfx.dev/api/v1/akrites/stewardships/open
- AuthHTTP bearer
Request body
Example request
{
"purl": "pkg:npm/lodash",
"actor": {
"userId": "auth0|abc123",
"username": "gaspergrom",
"displayName": "Gašper Grom",
"avatarUrl": "https://avatars.githubusercontent.com/u/12345"
}
}Response
Stewardship opened (or already open).
Example response
{
"stewardship": {
"id": "42",
"packageId": "1234",
"version": 1,
"statusNote": "Contacted maintainer, no response after 30 days."
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking