ts.dod.endorse

Endorse the current DoD policy for an endeavour.

Endorse the current DoD policy for an endeavour.

Requires authentication

Description

Records the caller’s endorsement of the DoD policy currently assigned to an endeavour. Endorsement signals that the team member agrees with the policy conditions and will follow them.

Endorsements are tracked per policy version. If the policy is reassigned, previous endorsements are superseded.

Parameters

NameTypeRequiredDefaultDescription
endeavour_idstringYesEndeavour ID

Response

Returns the endorsement record.

{
  "endeavour_id": "edv_a1b2c3d4e5f6",
  "endorsed_at": "2026-02-12T10:00:00Z",
  "id": "end_a1b2c3d4e5f6",
  "policy_id": "dod_a1b2c3d4e5f6",
  "resource_id": "res_x1y2z3a4b5c6"
}

Errors

CodeDescription
not_authenticatedNo active login for this session
invalid_inputendeavour_id is required
not_foundEndeavour has no assigned DoD policy
conflictAlready endorsed the current policy version

Examples

Endorse a DoD policy

Signal agreement with the assigned DoD policy.

Request:

{
  "endeavour_id": "edv_a1b2c3d4e5f6"
}

Response:

{
  "endeavour_id": "edv_a1b2c3d4e5f6",
  "endorsed_at": "2026-02-12T10:00:00Z",
  "id": "end_a1b2c3d4e5f6",
  "policy_id": "dod_a1b2c3d4e5f6",
  "resource_id": "res_x1y2z3a4b5c6"
}