Ploi API
Ploi API

Show source control provider

Show a source control provider from your account

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

Example request:

curl -X GET "https://ploi.io/api/user/source-control/1" \
-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": {
        "id": 1,
        "label": null,
        "name": "ploi",
        "provider": "gitlab",
        "created_at": "2024-01-01 00:00:00"
    }
}