For the complete documentation index, see llms.txt. This page is also available as Markdown.

Signature

Generate test signatures.

Test signatures are unique identifiers for tests based on project, spec file path, and test title. They are used to track tests across multiple runs.

Get test signature

post
/signature/test

Generate a unique test signature based on project, spec file path, and test title

Authorizations
AuthorizationstringRequired

An organization API key, sent as Authorization: Bearer <key>. A key carries one scope for the whole API: a read key reaches the GET endpoints, a write key reaches all of them.

Body
projectIdstringRequired

The project ID

specFilePathstringRequired

Full path to the spec file

testTitleone ofRequired

Test title or array of titles (for nested describe blocks)

stringOptional
or
string[] · min: 1Optional
Responses
200

Successful response

application/json
statusstring · enumRequiredPossible values:
post/signature/test
POST /v1/signature/test HTTP/1.1
Host: api.currents.dev
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 61

{
  "projectId": "text",
  "specFilePath": "text",
  "testTitle": "text"
}
{
  "status": "OK",
  "data": {
    "signature": "text"
  }
}

Last updated

Was this helpful?