List commitments
Returns gc:FulfillmentCommitment instances from GraphDB (https://data.global.church/commitments/). Optional filters: orgUri, status, concernsNeedId, limit.
query Parameters
orgUristringFilter by committing organization URI.
statusstring · enumFilter by commitment status.
Enum values:declaredfundedin_progressfulfilledpartially_fulfilledabandonedexpiredconcernsNeedIdstring · uuidFilter by the UUID of the need this commitment is linked to.
limitinteger · min: 1 · max: 200Max rows to return (default 50, max 200).
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
List of commitments
commitmentsobject[] · requiredtotalinteger · required
Submit commitment
Creates a new gc:FulfillmentCommitment for an organization, optionally linked to a prior gc:Need. Caller must have an active org membership.
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Request Body
orgUristring · requiredGraphDB URI of the committing organization
orgNamestring · requiredDisplay name of the organization
declaredByEmailstring · email · requiredcommitmentDescriptionstring · requiredacceleratorScopestring[] · minItems: 1 · requiredEngagement accelerator or function notation codes.
concernsNeedIdstring · uuidOptional — UUID of a gc:Need this commitment is responding to.
concernsPeopleGroupRop3string[]concernsCountryCodestring[]targetCompletionDatestring · dateOptional ISO YYYY-MM-DD target completion date.
Responses
Commitment created
commitmentIdstring · uuid · requiredstatusstring · enum · requiredEnum values:declared
Update commitment status
Transitions a gc:FulfillmentCommitment between declared / funded / in_progress / fulfilled / partially_fulfilled / abandoned / expired. Caller must have an active membership (or approved org_claim) for the commitment's owning org. No state-machine enforcement — any status is reachable from any status.
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Request Body
commitmentIdstring · uuid · requiredstatusstring · enum · requiredEnum values:declaredfundedin_progressfulfilledpartially_fulfilledabandonedexpiredactorEmailstring · email · requiredEmail of the user making the status change.
Responses
Status updated
commitmentIdstring · uuid · requiredstatusstring · required
