Skip to main content
POST
/
api
/
v1
/
developers
Create a developer
curl --request POST \
  --url http://localhost:8080/api/v1/developers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "<string>",
  "github_user_id": 123,
  "onboarded_ts": "2023-11-07T05:31:56Z"
}
'
{
  "yapcoder_id": 123,
  "github_user_id": 123,
  "username": "<string>",
  "is_yapcoder": true,
  "onboarded_ts": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
username
string
required
github_user_id
integer
required
onboarded_ts
string<date-time>
required

Response

Developer created successfully

yapcoder_id
integer
github_user_id
integer
username
string
is_yapcoder
boolean
onboarded_ts
string<date-time>