For the complete documentation index, see llms.txt. This page is also available as Markdown.

Upload

Repo artifact upload

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
repo_identifierstringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

Body
anyOptional
Responses
201

Created

application/json
file_pathstringOptional
post/repos/{repo_identifier}/uploads
POST /code/api/v1/repos/{repo_identifier}/uploads?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Content-Type: application/octet-stream
Accept: */*
{
  "file_path": "text"
}

Repo artifact download

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
x-api-keystringRequired
Path parameters
repo_identifierstringRequired
file_refstringRequired
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

Responses
200

OK

No content

get/repos/{repo_identifier}/uploads/{file_ref}
GET /code/api/v1/repos/{repo_identifier}/uploads/{file_ref}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*

No content

Last updated

Was this helpful?