Skip to Content
Credentials Repositories

Return a list of all repositories belonging to the source provider linked to the credential

GET
/credentials/{credential_id}/repositories

Path Parameters

credential_id*integer

The ID of the credential.

Range1 <= value

Query Parameters

page?integer

Number of the page to be retrieved

Range1 <= value
per_page?integer

Number of items returned per page

Range1 <= value <= 100

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Response Body

Ok

application/json
  1. response
[index: integer]?|null
Example Request
curl -X GET 'https://api.devopness.com/credentials/123/repositories?page=1&per_page=25' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json'
Example Response
[  {    "name": "myrepo",    "user_name": "myusername",    "full_name": "myusername/myrepo",    "html_url": "https://github.com/myusername/myrepo"  }]