Refresh GitHub development links
Fetches current provider state for the work item’s GitHub links (branch existence, commit status, PR state) and applies monotonic updates. Manual, on-demand counterpart of scheduled polling.
POST
/api/v1/work-items/:id/engineering/refreshAuthorization
work-items:linkapi key scoperequiredRequired scope when calling with an API key.
Path parameters
idstringrequiredCanonical work-item ID
Example: work_01k2...
Request
curl -X POST "https://www.digitalstack360.com/api/v1/work-items/work_01k2.../engineering/refresh" \
-H "Authorization: Bearer $DS_API_KEY"Examples use a placeholder key from your environment. Store your key in $DS_API_KEY — never commit it.
Response
200 OK
{
"data": {
"refreshed": 3,
"updated": 1,
"unchanged": 2,
"failures": []
}
}Errors
401
missing_authNo credentials provided
401
invalid_api_keyAPI key is invalid or revoked
403
scope_insufficientKey lacks work-items:link scope
404
not_foundWork item does not exist or is outside the resolved workspace