Trails

Upload a trail body attachment (JPEG/PNG, max 10 MB)

post/api/v1/trails/{forge}/{owner}/{repo}/{number}/attachments

Path parameters

forgestring required
ownerstring required
repostring required
numberstring required

Query parameters

filenamestring

Original filename; sanitized to a basename for the stored object. Defaults to image.png/image.jpg.

kind'image'

Attachment kind. Only "image" is supported in v1.

Response

Attachment created

Changes

No recorded changes to this endpoint across all 29 revisions of this API.