AlphaAlpha Docs
API ReferenceGithub integration

Link a repository to a project

POST
/hr/github/projects/{projectId}/repos
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/hr/github/projects/string/repos" \  -H "Content-Type: application/json" \  -d '{    "repositoryFullName": "string",    "repositoryId": 0,    "repositoryUrl": "string"  }'
{
  "created": "2019-08-24T14:15:22Z",
  "defaultBranch": "string",
  "id": "string",
  "linkedBy": "string",
  "repositoryFullName": "string",
  "repositoryUrl": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}