Skip to content

Depot projects public

Registers the public project surface.

This page is generated from the Depot route table. Every operation carries the permission it needs and the anchor an agent can link to.

GETNo permission neededpublic facemspIdempotentToken in the pathNot fully resolved

What this page does not know
  • response

These are parts of the route the extractor could not read from the source. Everything else on this page came straight from it.

Source: [object Object]

wrap is the envelope every route wears, and it is the pipeline of PROJECT_CONTRACTS.md section 4.6 in that order.

A COPY OF sales_public.go’s wrap AND NOT A SHARED GENERIC. The pipeline is forty lines and its ORDER is the contract; a shared one parameterised by base, 404 body, limiter set and shape check would obscure which check runs under which base, and the one thing this file must be readable about is the order.

THE HEADERS GO ON FIRST, before the shape check, so the 404 and the 429 carry them too. A 404 is still a response this origin served to a browser, and a tokened URL whose error page leaks a Referer has leaked a live link.

NameInTypeRequiredDescription
tokenpathstringYes
StatusBodyDescription
200NoneSuccess. The body shape was not resolved; see x-outpost-unresolved.
404application/problem+json, ProblemDetailsThis project link is no longer valid. It may have expired or been withdrawn.
413application/problem+json, ProblemDetailsThat submission is too large. Shorten it and try again.
429application/problem+json, ProblemDetailsPlease wait a moment and try again.
Terminal window
# This operation is public. It takes no credentials.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X GET 'https://depot.example.com/api/v1/public/projects/<token>' \
-H 'Accept: application/json'

POST /api/v1/public/projects/{token}/accept

Section titled “POST /api/v1/public/projects/{token}/accept”

POSTNo permission neededpublic facemspToken in the pathNot fully resolved

What this page does not know
  • response

These are parts of the route the extractor could not read from the source. Everything else on this page came straight from it.

Source: [object Object]

wrap is the envelope every route wears, and it is the pipeline of PROJECT_CONTRACTS.md section 4.6 in that order.

A COPY OF sales_public.go’s wrap AND NOT A SHARED GENERIC. The pipeline is forty lines and its ORDER is the contract; a shared one parameterised by base, 404 body, limiter set and shape check would obscure which check runs under which base, and the one thing this file must be readable about is the order.

THE HEADERS GO ON FIRST, before the shape check, so the 404 and the 429 carry them too. A 404 is still a response this origin served to a browser, and a tokened URL whose error page leaks a Referer has leaked a live link.

NameInTypeRequiredDescription
tokenpathstringYes
StatusBodyDescription
200NoneSuccess. The body shape was not resolved; see x-outpost-unresolved.
404application/problem+json, ProblemDetailsThis project link is no longer valid. It may have expired or been withdrawn.
413application/problem+json, ProblemDetailsThat submission is too large. Shorten it and try again.
429application/problem+json, ProblemDetailsPlease wait a moment and try again.
Terminal window
# This operation is public. It takes no credentials.
curl -X POST 'https://depot.example.com/api/v1/public/projects/<token>/accept' \
-H 'Accept: application/json'

GET /api/v1/public/projects/{token}/certificate

Section titled “GET /api/v1/public/projects/{token}/certificate”

GETNo permission neededpublic facemspIdempotentToken in the pathNot fully resolved

What this page does not know
  • response

These are parts of the route the extractor could not read from the source. Everything else on this page came straight from it.

Source: [object Object]

wrap is the envelope every route wears, and it is the pipeline of PROJECT_CONTRACTS.md section 4.6 in that order.

A COPY OF sales_public.go’s wrap AND NOT A SHARED GENERIC. The pipeline is forty lines and its ORDER is the contract; a shared one parameterised by base, 404 body, limiter set and shape check would obscure which check runs under which base, and the one thing this file must be readable about is the order.

THE HEADERS GO ON FIRST, before the shape check, so the 404 and the 429 carry them too. A 404 is still a response this origin served to a browser, and a tokened URL whose error page leaks a Referer has leaked a live link.

NameInTypeRequiredDescription
tokenpathstringYes
StatusBodyDescription
200NoneSuccess. The body shape was not resolved; see x-outpost-unresolved.
404application/problem+json, ProblemDetailsThis project link is no longer valid. It may have expired or been withdrawn.
413application/problem+json, ProblemDetailsThat submission is too large. Shorten it and try again.
429application/problem+json, ProblemDetailsPlease wait a moment and try again.
Terminal window
# This operation is public. It takes no credentials.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X GET 'https://depot.example.com/api/v1/public/projects/<token>/certificate' \
-H 'Accept: application/json'

POST /api/v1/public/projects/{token}/decline

Section titled “POST /api/v1/public/projects/{token}/decline”

POSTNo permission neededpublic facemspToken in the pathNot fully resolved

What this page does not know
  • response

These are parts of the route the extractor could not read from the source. Everything else on this page came straight from it.

Source: [object Object]

wrap is the envelope every route wears, and it is the pipeline of PROJECT_CONTRACTS.md section 4.6 in that order.

A COPY OF sales_public.go’s wrap AND NOT A SHARED GENERIC. The pipeline is forty lines and its ORDER is the contract; a shared one parameterised by base, 404 body, limiter set and shape check would obscure which check runs under which base, and the one thing this file must be readable about is the order.

THE HEADERS GO ON FIRST, before the shape check, so the 404 and the 429 carry them too. A 404 is still a response this origin served to a browser, and a tokened URL whose error page leaks a Referer has leaked a live link.

NameInTypeRequiredDescription
tokenpathstringYes
StatusBodyDescription
200NoneSuccess. The body shape was not resolved; see x-outpost-unresolved.
404application/problem+json, ProblemDetailsThis project link is no longer valid. It may have expired or been withdrawn.
413application/problem+json, ProblemDetailsThat submission is too large. Shorten it and try again.
429application/problem+json, ProblemDetailsPlease wait a moment and try again.
Terminal window
# This operation is public. It takes no credentials.
curl -X POST 'https://depot.example.com/api/v1/public/projects/<token>/decline' \
-H 'Accept: application/json'

GETNo permission neededpublic facemspIdempotentToken in the pathNot fully resolved

What this page does not know
  • response

These are parts of the route the extractor could not read from the source. Everything else on this page came straight from it.

Source: [object Object]

wrap is the envelope every route wears, and it is the pipeline of PROJECT_CONTRACTS.md section 4.6 in that order.

A COPY OF sales_public.go’s wrap AND NOT A SHARED GENERIC. The pipeline is forty lines and its ORDER is the contract; a shared one parameterised by base, 404 body, limiter set and shape check would obscure which check runs under which base, and the one thing this file must be readable about is the order.

THE HEADERS GO ON FIRST, before the shape check, so the 404 and the 429 carry them too. A 404 is still a response this origin served to a browser, and a tokened URL whose error page leaks a Referer has leaked a live link.

NameInTypeRequiredDescription
tokenpathstringYes
StatusBodyDescription
200NoneSuccess. The body shape was not resolved; see x-outpost-unresolved.
404application/problem+json, ProblemDetailsThis project link is no longer valid. It may have expired or been withdrawn.
413application/problem+json, ProblemDetailsThat submission is too large. Shorten it and try again.
429application/problem+json, ProblemDetailsPlease wait a moment and try again.
Terminal window
# This operation is public. It takes no credentials.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X GET 'https://depot.example.com/api/v1/public/projects/<token>/logo' \
-H 'Accept: application/json'

Content is licensed CC BY 4.0. Code samples are MIT. Outpost and the Outpost mark are trademarks of Outpost Business Solutions, PBC and are not covered by either license.