List a collection of Exemptions
OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
{- "pagination": {
- "link": "",
- "page": 4,
- "pageSize": 20,
- "totalItems": 230,
- "totalPages": 12
}, - "results": [
- {
- "approverId": "user111111111111111111",
- "canApproveFor": [
- "ACCOUNT",
- "ORG",
- "PROJECT",
- "PIPELINE"
], - "canReject": true,
- "created": 1651578240,
- "expiration": 1651578240,
- "id": "abcdef1234567890ghijkl",
- "issueId": "abcdef1234567890ghijkl",
- "lastModified": 1651578240,
- "orgId": "your_project",
- "pendingChanges": {
- "durationDays": 7
}, - "pipelineId": "your_pipeline",
- "projectId": "your_project",
- "reason": "Waiting on upstream bug fix",
- "requesterId": "user111111111111111111",
- "scope": "PROJECT",
- "status": "Expired",
- "targetId": "abcdef1234567890ghijkl",
- "type": "Other"
}, - {
- "approverId": "user111111111111111111",
- "canApproveFor": [
- "ACCOUNT",
- "ORG",
- "PROJECT",
- "PIPELINE"
], - "canReject": true,
- "created": 1651578240,
- "expiration": 1651578240,
- "id": "abcdef1234567890ghijkl",
- "issueId": "abcdef1234567890ghijkl",
- "lastModified": 1651578240,
- "orgId": "your_project",
- "pendingChanges": {
- "durationDays": 7
}, - "pipelineId": "your_pipeline",
- "projectId": "your_project",
- "reason": "Waiting on upstream bug fix",
- "requesterId": "user111111111111111111",
- "scope": "PROJECT",
- "status": "Expired",
- "targetId": "abcdef1234567890ghijkl",
- "type": "Other"
}, - {
- "approverId": "user111111111111111111",
- "canApproveFor": [
- "ACCOUNT",
- "ORG",
- "PROJECT",
- "PIPELINE"
], - "canReject": true,
- "created": 1651578240,
- "expiration": 1651578240,
- "id": "abcdef1234567890ghijkl",
- "issueId": "abcdef1234567890ghijkl",
- "lastModified": 1651578240,
- "orgId": "your_project",
- "pendingChanges": {
- "durationDays": 7
}, - "pipelineId": "your_pipeline",
- "projectId": "your_project",
- "reason": "Waiting on upstream bug fix",
- "requesterId": "user111111111111111111",
- "scope": "PROJECT",
- "status": "Expired",
- "targetId": "abcdef1234567890ghijkl",
- "type": "Other"
}
]
}
Create a new Exemption
OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
{- "expiration": 1651578240,
- "issueId": "abcdef1234567890ghijkl",
- "pendingChanges": {
- "durationDays": 7
}, - "pipelineId": "your_pipeline",
- "reason": "Waiting on upstream bug fix",
- "requesterId": "user111111111111111111",
- "targetId": "abcdef1234567890ghijkl",
- "type": "Other"
}
{- "id": "abcdef1234567890ghijkl"
}
Find Exemption by ID
OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
{- "approverId": "user111111111111111111",
- "canApproveFor": [
- "ACCOUNT",
- "ORG",
- "PROJECT",
- "PIPELINE"
], - "canReject": true,
- "created": 1651578240,
- "expiration": 1651578240,
- "id": "abcdef1234567890ghijkl",
- "issueId": "abcdef1234567890ghijkl",
- "lastModified": 1651578240,
- "orgId": "your_project",
- "pendingChanges": {
- "durationDays": 7
}, - "pipelineId": "your_pipeline",
- "projectId": "your_project",
- "reason": "Waiting on upstream bug fix",
- "requesterId": "user111111111111111111",
- "scope": "PROJECT",
- "status": "Expired",
- "targetId": "abcdef1234567890ghijkl",
- "type": "Other"
}
Update an existing Exemption
OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
{- "expiration": 1651578240,
- "pendingChanges": {
- "durationDays": 7
}, - "pipelineId": "your_pipeline",
- "reason": "Waiting on upstream bug fix",
- "requesterId": "user111111111111111111",
- "targetId": "abcdef1234567890ghijkl",
- "type": "Other"
}
{- "approverId": "user111111111111111111",
- "canApproveFor": [
- "ACCOUNT",
- "ORG",
- "PROJECT",
- "PIPELINE"
], - "canReject": true,
- "created": 1651578240,
- "expiration": 1651578240,
- "id": "abcdef1234567890ghijkl",
- "issueId": "abcdef1234567890ghijkl",
- "lastModified": 1651578240,
- "orgId": "your_project",
- "pendingChanges": {
- "durationDays": 7
}, - "pipelineId": "your_pipeline",
- "projectId": "your_project",
- "reason": "Waiting on upstream bug fix",
- "requesterId": "user111111111111111111",
- "scope": "PROJECT",
- "status": "Expired",
- "targetId": "abcdef1234567890ghijkl",
- "type": "Other"
}
Approve/reject an existing Exemption
OK response.
BadRequest: Bad Request response.
Unauthorized: Unauthorized response.
Forbidden: Forbidden response.
NotFound: Not Found response.
TooManyRequests: Too Many Requests response.
InternalServerError: Internal Server Error response.
{- "approverId": "user111111111111111111"
}
{- "approverId": "user111111111111111111",
- "canApproveFor": [
- "ACCOUNT",
- "ORG",
- "PROJECT",
- "PIPELINE"
], - "canReject": true,
- "created": 1651578240,
- "expiration": 1651578240,
- "id": "abcdef1234567890ghijkl",
- "issueId": "abcdef1234567890ghijkl",
- "lastModified": 1651578240,
- "orgId": "your_project",
- "pendingChanges": {
- "durationDays": 7
}, - "pipelineId": "your_pipeline",
- "projectId": "your_project",
- "reason": "Waiting on upstream bug fix",
- "requesterId": "user111111111111111111",
- "scope": "PROJECT",
- "status": "Expired",
- "targetId": "abcdef1234567890ghijkl",
- "type": "Other"
}