Api Routes
/v1/sessionGet details about the current token passed via bearer auth. This endpoint requires auth.
/v1/resourcesGet: Get a list of all resources. (no auth) Post: Create a new resource (requires auth)
/v1/resources/:id|slugGet a resource based on id or slug. Slugs are technically prefered but all ids are prefixed so in practice ids are safe. (no auth)
/v1/resources/:id|slug/versionsGet a list of versions with artifacts (no auth)
/v1/versionPost: create a new version, this will be deprecated soon and moved to /v1/resources/:id|slug/version post
/v1/resources/:locator/downloadDownload a resource, specify the hash with a query param
Further reading
Section titled “Further reading”- Read about reference in the Diátaxis framework