One case as its Markdown block
GET
/v1/test-cases/{id}/markdown
const url = 'https://beta-api.plune.ai/v1/test-cases/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/markdown';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/test-cases/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/markdown \ --header 'Authorization: Bearer <token>'The case’s <!-- test --> block alone — no suite block around it, so pasting it into POST /v1/test-cases/markdown edits the case where it is (D9). What «Copy as Markdown» copies.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
Responses
Section titled “ Responses ”The block
Media type text/markdown
string
No / invalid token or session
No such case in the caller’s project
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}