Poll the change marker for pending proposals
GET
/api/v1/item-actions/pipeline-revision
const url = 'https://app.avera.io/api/v1/item-actions/pipeline-revision';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.avera.io/api/v1/item-actions/pipeline-revisionReturns four scalars, pending counts and latest author times for the branch’s item proposals and the project’s configuration proposals, so a client can ask whether anything moved without paying for either list. Scoped exactly like the lists it guards; without a project context the configuration pair is empty.
Responses
Section titled “Responses”OK
Media type*/*
object
pendingCount
required
integer format: int32
latestAuthorAt
string | null format: date-time
pendingConfigCount
required
integer format: int32
latestConfigAuthorAt
string | null format: date-time