Ploi API
Ploi API

Repositories for source control provider

Show the repositories for a source control provider

GET api/user/source-control/{provider}/repositories

Example request:

curl -X GET "https://ploi.io/api/user/source-control/1/repositories" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Example response:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "data": {
        "repositories": [
            {
                "label": "ploi/ploi",
                "name": "ploi/ploi",
                "created_at": "2017-05-00 00:00:00"
            },
        ]
    }
}