Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Passalong Shots API
version: 1.0.0
description: 'Work for a team and its agents: markdown with frontmatter, saying what to do in plain words. Work has no kinds and no required sections: read it and work out what done means. It is worked with four calls: POST /v1/take, PUT /v1/work/{id}/progress, POST /v1/work/{id}/hand_in and POST /v1/work/{id}/pass. Each answer ends with `next`, what to call now, and `say` when the move is to stop.'
servers:
- url: https://passalong.dev
security:
- bearerAuth: []
tags:
- name: Shots
paths:
/v1/shots:
post:
operationId: uploadScreenshot
summary: Store a screenshot and get a URL to put in work's markdown
description: Raw image bytes with a content-type; png, jpeg, webp or gif, up to 5MB. Reference the returned url as a markdown image so the evidence outlives wherever it came from.
requestBody:
required: true
content:
image/png: {}
image/jpeg: {}
image/webp: {}
image/gif: {}
responses:
'201':
description: Stored.
'415':
description: Not an image type we store.
'501':
description: This deployment has no screenshot storage.
tags:
- Shots
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: An API token, minted in the hub under Settings.