content
Add an item: start an upload, or add a web page
An upload is created pending, with where its bytes go; it is refused before anything is stored when the kind does not take its type or size. A web page is kept by its address and read in the background — the page already held under that address is returned rather than a second one. Either is refused when the plan does not allow another.
post/workspaces/{id}/content
Request
- Base URL: https://api.swingfactor.ai/v1
- URL: https://api.swingfactor.ai/v1/workspaces/{id}/content
- Auth: HTTP bearer
Path parameters
idstring uuid required
The workspace's id (a UUID).
Headers
Idempotency-Keystring
Any unique string. The same key, method, path and body within 24 hours answers with the first response instead of creating again; the same key on a different request is 409 idempotency_key_reused.
Request body
Response
The item, and for an upload where to send its bytes.
Changes
No recorded changes to this operation across all 1 revision of this API.