Library
Get a project incentive
get/projects/{projectId}/library/incentives/{incentiveId}
Request
- Base URL: https://next-api.saturation.io/v1
- URL: https://next-api.saturation.io/v1/projects/{projectId}/library/incentives/{incentiveId}
- Auth: HTTP bearer
Path parameters
projectIdstring required
Project ID or slug.
incentiveIdstring required
A stable resource ID, such as prj_…, txn_…, or doc_….
Example:txn_8f2a1c9e
Query parameters
expandProject Incentive Expand[]
Comma list of related data to inline on a project incentive (depth ≤ 2). Unknown key returns 400 expand_invalid.
Response
The project incentive.
Example response
{
"id": "txn_8f2a1c9e",
"sourceId": "txn_8f2a1c9e",
"sourceIncentiveVersionId": "txn_8f2a1c9e",
"source": {
"id": "txn_8f2a1c9e",
"currentVersion": {
"id": "txn_8f2a1c9e"
}
}
}