Identifies the calling client as <name>/<version>, for example reunite-ui/0.92.1. Used for API consumer observability. Requests without it are attributed as unknown.
Retrieve a push.
Requires project.remotes.read permission.
Security
ApiKey
- Mock serverhttps://redocly.com/_mock/docs/platform/customization/reunite-api/openapi/orgs/{orgId}/projects/{projectId}/pushes/{pushId}
- Production main server.https://app.cloud.redocly.com/api/orgs/{orgId}/projects/{projectId}/pushes/{pushId}
- Production EU server.https://app.cloud.eu.redocly.com/api/orgs/{orgId}/projects/{projectId}/pushes/{pushId}
curl -i -X GET \
https://redocly.com/_mock/docs/platform/customization/reunite-api/openapi/orgs/org_01h1s5z6vf2mm1mz3hevnn9va7/projects/prj_01hh1t9sa6gwfv5naz04gr7ehm/pushes/push_01hhh91dhc2kg9naf476y7qmas \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'x-redocly-client: reunite-ui/0.92.1'Push ID. Unique identifier prefixed with push_.
Example:"push_01h2captefvs9bpg3v6twqqj9n"
PROCESS_GIT_REPO job, if any. Required for Scout pushes. Unique identifier prefixed with job_.
Example:"job_01h2captefvs9bpg3v6twqqj9n"
Default:false
Example:true
Indicates whether the push is discarded. In case several pushes are performed in a row, the one with most recent commit is applied only. Always false when commit's createdAt is omitted.
Example:false
Response
{ "id": "push_01h2captefvs9bpg3v6twqqj9n", "object": "push", "remoteIds": [ "string" ], "remoteId": "string", "commit": { "message": "chore: Add new API", "branchName": "main", "sha": "f64ae8ea9dd7cf28822c471ea56b6d6765971305", "url": "https://gitlab.com/example-user/example-project/-/commit/f64ae8ea9dd7cf28822c471ea56b6d6765971305", "createdAt": "2020-01-01T00:00:00.000Z", "namespaceId": "Redocly", "repositoryId": "redoc", "author": { … }, "statuses": [ … ] }, "scoutJobId": "job_01h2captefvs9bpg3v6twqqj9n", "replace": true, "uploadedFiles": [ { … } ], "isMainBranch": true, "isOutdated": false, "hasChanges": false, "status": { "preview": { … }, "production": { … } } }