Cursor of the next page. page.nextPage contains it as the after query parameter, so you can also request page.nextPage directly. The cursor is opaque, and its internal structure is subject to change.
Lists the source of the project. A project has exactly one source, so the list always holds one item. The pagination parameters are accepted for consistency with other list operations. A source in an external Git repository includes the credentialId of the credential that Redocly uses to access the repository. Use it to rotate the access token of the credential.
Requires org.project.read permission.
Security
ApiKey
- Mock serverhttps://redocly.com/_mock/docs/platform/customization/reunite-api/openapi/orgs/{orgId}/projects/{projectId}/sources
- Production main server.https://app.cloud.redocly.com/api/orgs/{orgId}/projects/{projectId}/sources
- Production EU server.https://app.cloud.eu.redocly.com/api/orgs/{orgId}/projects/{projectId}/sources
curl -i -X GET \
'https://redocly.com/_mock/docs/platform/customization/reunite-api/openapi/orgs/org_01h1s5z6vf2mm1mz3hevnn9va7/projects/prj_01hh1t9sa6gwfv5naz04gr7ehm/sources?after=a25fgaksjf23la%3D%3D&before=bfg23aksjf23zb1%3D%3D&limit=10' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'x-redocly-client: reunite-ui/0.92.1'Response
{ "object": "list", "page": { "nextPage": "/orgs/org_123/projects?limit=10&after=a25fgaksjf23la==", "previousPage": "/orgs/org_123/projects?limit=10&before=bfg23aksjf23zb1==", "limit": 10 }, "data": [ { … } ] }