PUT
/
api
/
v1
/
guidelines
/
{guideline_id}
curl --request PUT \
  --url https://api.quackai.com/api/v1/guidelines/{guideline_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "github_token": "<string>",
  "title": "<string>",
  "details": "<string>"
}'
{
  "id": 123,
  "repo_id": 123,
  "title": "<string>",
  "details": "<string>",
  "order": 1,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

guideline_id
integer
required

Body

application/json
github_token
string
title
string
required
details
string
required

Response

200 - application/json
id
integer
repo_id
integer
required
title
string
required
details
string
required
order
integer
required
created_at
string
updated_at
string