The public link of the test documentation
const url = 'https://beta-api.plune.ai/v1/projects/example/test-docs/public-link';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://beta-api.plune.ai/v1/projects/example/test-docs/public-link \ --header 'Authorization: Bearer <token>'Whether the pack is shared by a public link (#2750, ADR 0082 §6; D7), when it ends, whether it has a password, and paidOnly for a plan without it. Never the token. Anyone in the project, a reader too.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The project’s id
Responses
Section titled “ Responses ”The state
The public link of the test documentation (#2750), never its token. paidOnly: the project’s plan has no public link (ADR 0082 Є1) and the limits are enforced - the panel shows the switch off with Upgrade
object
Only when enabled
The id of the person who made it. Only when enabled
When the link stops answering. Only when enabled
The address answers 410, and PUT makes a new link. Only when enabled
Only when enabled
Set while wrong passwords lock the address (10 in 15 minutes). Only when enabled
In the 201 of PUT only, ONCE: the server keeps only its hash
In the 201 only: /public/test-docs/<token>
In the 201 only: the whole link when the server knows the dashboard’s address
Example
{ "enabled": false, "paidOnly": false}No / invalid token or session
No such project, or you are not in it
object
Example generated
{ "error": "example"}