Submits user feedback to Touca Engineering Team.
body required | string [ 20 .. 1000 ] characters |
name | string <= 100 characters |
page required | string <= 16 characters |
string <= 100 characters | |
cname | string <= 100 characters |
{- "body": "stringstringstringst",
- "name": "string",
- "page": "string",
- "email": "string",
- "cname": "string"
}
{- "errors": [
- "error message"
]
}
Initiate the process to reset account password.
email required | string <email> |
{- "email": "user@example.com"
}
{- "errors": [
- "error message"
]
}
Log into a user account. Creates a user session.
email required | string <email> |
password required | string >= 8 characters |
{- "email": "user@example.com",
- "password": "stringst"
}
{- "expiresAt": "2019-08-24T14:15:22Z"
}
Log into a user account. Creates a user session.
google_token required | string |
{- "google_token": "string"
}
{- "expiresAt": "2019-08-24T14:15:22Z"
}
List all batches in a given suite. User performing the query must be authenticated. User performing the query must be a member of the team. Output may have been cached in the server.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
[- [
- {
- "batchSlug": "string",
- "comparedAgainst": "string",
- "expirable": true,
- "isSealed": true,
- "messageCount": 0,
- "submittedAt": "2019-08-24T14:15:22Z",
- "submittedBy": [
- {
- "fullname": "string",
- "username": "string"
}
], - "updatedAt": "2019-08-24T14:15:22Z",
- "meta": {
- "elementsCountDifferent": 0,
- "elementsCountFresh": 0,
- "elementsCountHead": 0,
- "elementsCountMissing": 0,
- "elementsCountPending": 0,
- "elementsScoreAbsolute": 0,
- "elementsScoreAggregate": 0,
- "metricsDurationChange": 0,
- "metricsDurationHead": 0,
- "metricsDurationSign": 0
}
}
]
]
Learn more about a batch in a given suite. User performing the query must be authenticated. User performing the query must be member of the team. Output may have been cached in the server.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
batch required | string Example: 7.12.149 version of the workflow |
{- "batchSlug": "string",
- "comparedAgainst": "string",
- "expirable": true,
- "isSealed": true,
- "messageCount": 0,
- "submittedAt": "2019-08-24T14:15:22Z",
- "submittedBy": [
- {
- "fullname": "string",
- "username": "string"
}
], - "updatedAt": "2019-08-24T14:15:22Z",
- "meta": {
- "elementsCountDifferent": 0,
- "elementsCountFresh": 0,
- "elementsCountHead": 0,
- "elementsCountMissing": 0,
- "elementsCountPending": 0,
- "elementsScoreAbsolute": 0,
- "elementsScoreAggregate": 0,
- "metricsDurationChange": 0,
- "metricsDurationHead": 0,
- "metricsDurationSign": 0
}, - "commentCount": 0,
- "suiteName": "string",
- "suiteSlug": "string",
- "teamName": "string",
- "teamSlug": "string"
}
Remove a batch and all data associated with it. User initiating the request must be authenticated. User initiating the request must be administrator of the team. Batch must be sealed. Batch must not be baseline of the suite it belongs to.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
batch required | string Example: 7.12.149 version of the workflow |
{- "errors": [
- "error message"
]
}
Compare a batch with another batch. Compare results submitted for a batch to results submitted for another batch. User performing the query must be authenticated. User performing the query must be member of the team.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
batch required | string Example: 7.12.149 version of the workflow |
dstBatch required | string version to compare against |
dstSuite required | string slug of the suite to compare against |
{- "common": [
- {
- "dst": {
- "builtAt": "2019-08-24T14:15:22Z",
- "elementName": "string"
}, - "meta": {
- "keysCountCommon": 0,
- "keysCountFresh": 0,
- "keysCountMissing": 0,
- "keysScore": 0,
- "metricsCountCommon": 0,
- "metricsCountFresh": 0,
- "metricsCountMissing": 0,
- "metricsDurationCommonDst": 0,
- "metricsDurationCommonSrc": 0
}, - "src": {
- "builtAt": "2019-08-24T14:15:22Z",
- "elementName": "string"
}
}
], - "fresh": [
- {
- "builtAt": "2019-08-24T14:15:22Z",
- "elementName": "string",
- "meta": {
- "keysCount": 0,
- "metricsCount": 0,
- "metricsDuration": 0
}
}
], - "missing": [
- {
- "builtAt": "2019-08-24T14:15:22Z",
- "elementName": "string",
- "meta": {
- "keysCount": 0,
- "metricsCount": 0,
- "metricsDuration": 0
}
}
], - "overview": {
- "elementsCountDifferent": 0,
- "elementsCountFresh": 0,
- "elementsCountHead": 0,
- "elementsCountMissing": 0,
- "elementsCountPending": 0,
- "elementsScoreAbsolute": 0,
- "elementsScoreAggregate": 0,
- "metricsDurationChange": 0,
- "metricsDurationHead": 0,
- "metricsDurationSign": 0
}
}
Generate PDF report for test results submitted to this batch. User performing the query must be authenticated. User performing the query must be member of the team.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
batch required | string Example: 7.12.149 version of the workflow |
{- "errors": [
- "error message"
]
}
Export test results submitted to this batch as a compressed archive. User performing the query must be authenticated. User performing the query must be member of the team.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
batch required | string Example: 7.12.149 version of the workflow |
{- "errors": [
- "error message"
]
}
Promote a batch to baseline of the suite it belongs to. User initiating the request must be authenticated. User initiating the request must be member of the team. Batch to be promoted should be sealed. Batch to be promoted should not be empty. We support empty promotion reason only for the first submitted batch whose workflow does not include calling this route. hence, we choose to reject empty reasons for all subsequent promotions that happened through this route. We think a valid promotion reason should be no longer than a single paragraph. Assuming a normal paragraph includes 200 words with average length of 5, we allow at most 1500 characters to be entered for promotion reason.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
batch required | string Example: 7.12.149 version of the workflow |
reason required | string [ 0 .. 1500 ] characters |
{- "reason": "string"
}
{- "errors": [
- "error message"
]
}
Seals a version of the specified suite to prevent additional results to be submitted for that version. This is optional given that batches are automatically sealed by the server after a period of time after their submission. User initiating the request must be authenticated. User initiating the request must be member of the team.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
batch required | string Example: 7.12.149 version of the workflow |
{- "errors": [
- "error message"
]
}
Queries server for configuration options such as the next version increment for the code under test or the set of test cases for the code under test.
team required | string |
suite required | string |
version | string |
testcases | Array of strings |
[- {
- "team": "string",
- "suite": "string",
- "version": "string",
- "testcases": [
- "string"
]
}
]
[- {
- "team": "string",
- "suite": "string",
- "version": "string",
- "testcases": [
- "string"
]
}
]
Authenticate to Touca Server API. Creates a temporary client session.
key required | string <uuid> |
{- "key": "4adfe27e-63d3-45b9-8238-62b6ed6fdb5e"
}
{- "expiresAt": "2019-08-24T14:15:22Z"
}
Handles test results submitted via Touca SDKs. Client initiating the request must be authenticated.
Valid binary data that conforms to Touca data schema. Submission file cannot be larger than 50 MB in size.
[- {
- "assertions": {
- "commonKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
], - "missingKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
], - "newKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
]
}, - "dst": {
- "builtAt": "2019-08-24T14:15:22Z",
- "teamSlug": "string",
- "testcase": "string",
- "testsuite": "string",
- "version": "string"
}, - "metrics": {
- "commonKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
], - "missingKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
], - "newKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
]
}, - "results": {
- "commonKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
], - "missingKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
], - "newKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
]
}, - "src": {
- "builtAt": "2019-08-24T14:15:22Z",
- "teamSlug": "string",
- "testcase": "string",
- "testsuite": "string",
- "version": "string"
}
}
]
List comments submitted for a given page. User performing the query must be authenticated. User performing the query must be member of the team.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
batch required | string Example: 7.12.149 version of the workflow |
[- {
- "at": "2019-08-24T14:15:22Z",
- "by": {
- "fullname": "string",
- "username": "string"
}, - "editedAt": "2019-08-24T14:15:22Z",
- "id": "string",
- "replies": [
- { }
], - "text": "string"
}
]
Creates a new comment. User performing the query must be authenticated. User performing the query must be member of the team.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
batch required | string Example: 7.12.149 version of the workflow |
body required | string [ 10 .. 1500 ] characters |
{- "body": "stringstri"
}
{- "errors": [
- "error message"
]
}
Updates an existing comment. User performing the request must be authenticated. User performing the request must be member of the team. User performing the request must own the comment.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
batch required | string Example: 7.12.149 version of the workflow |
comment required | string Example: 123456 unique id of this comment |
body required | string [ 10 .. 1500 ] characters |
{- "body": "stringstri"
}
{- "errors": [
- "error message"
]
}
Removes an existing comment. User performing the request must be authenticated. User performing the request must be member of the team. User performing the request must be owner of the comment or admin of the team or admin of the platform.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
batch required | string Example: 7.12.149 version of the workflow |
comment required | string Example: 123456 unique id of this comment |
{- "errors": [
- "error message"
]
}
Replies to an existing comment. User performing the request must be authenticated. User performing the request must be member of the team.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
batch required | string Example: 7.12.149 version of the workflow |
comment required | string Example: 123456 unique id of this comment |
{- "errors": [
- "error message"
]
}
Learn more about an element in a given suite. User performing the query must be authenticated. User performing the query must be member of the team. Output may have been cached in the server.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
element required | string testcase to be given as input to the workflow under test |
{- "batches": [
- {
- "slug": "string",
- "submittedAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "elementName": "string",
- "elementSlug": "string",
- "suiteName": "string",
- "suiteSlug": "string",
- "teamName": "string",
- "teamSlug": "string"
}
Update test case information in a given suite. User initiating the request must be authenticated. User initiation the request must be member of the team.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
element required | string testcase to be given as input to the workflow under test |
note | string |
{- "note": "string"
}
{- "errors": [
- "error message"
]
}
Compare results submitted for the same element between two batches. User performing the query must be authenticated. User performing the query must be member of the team. Output may have been cached in the server.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
element required | string testcase to be given as input to the workflow under test |
batch required | string Example: 7.12.149 version of the workflow |
dstBatch required | string version to compare against |
dstElementName required | string slug of the element in the suite to compare against |
dstSuite required | string slug of the suite to compare against |
{- "cmp": {
- "assertions": {
- "commonKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
], - "missingKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
], - "newKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
]
}, - "dst": {
- "builtAt": "2019-08-24T14:15:22Z",
- "teamSlug": "string",
- "testcase": "string",
- "testsuite": "string",
- "version": "string"
}, - "metrics": {
- "commonKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
], - "missingKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
], - "newKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
]
}, - "results": {
- "commonKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
], - "missingKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
], - "newKeys": [
- {
- "desc": [
- "string"
], - "dstType": "string",
- "dstValue": "string",
- "name": "string",
- "rule": {
- "type": "number",
- "mode": "absolute",
- "max": 0,
- "min": 0,
- "percent": 1
}, - "score": 1,
- "srcType": "string",
- "srcValue": "string"
}
]
}, - "src": {
- "builtAt": "2019-08-24T14:15:22Z",
- "teamSlug": "string",
- "testcase": "string",
- "testsuite": "string",
- "version": "string"
}
}, - "dst": {
- "builtAt": "2019-08-24T14:15:22Z",
- "elementName": "string",
- "submittedAt": "2019-08-24T14:15:22Z",
- "submittedBy": {
- "fullname": "string",
- "username": "string"
}
}, - "meta": {
- "keysCountCommon": 0,
- "keysCountFresh": 0,
- "keysCountMissing": 0,
- "keysScore": 0,
- "metricsCountCommon": 0,
- "metricsCountFresh": 0,
- "metricsCountMissing": 0,
- "metricsDurationCommonDst": 0,
- "metricsDurationCommonSrc": 0
}, - "src": {
- "builtAt": "2019-08-24T14:15:22Z",
- "elementName": "string",
- "submittedAt": "2019-08-24T14:15:22Z",
- "submittedBy": {
- "fullname": "string",
- "username": "string"
}
}
}
List all test suites in baseline version of a given suite. User performing the query must be authenticated. User performing the query must be a member of the team. Output may have been cached in the server.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
[- {
- "metricsDuration": 0,
- "name": "string",
- "note": "string",
- "slug": "string",
- "tags": [
- "string"
], - "versions": [
- {
- "match": 0,
- "name": "string",
- "time": 0
}
]
}
]
Updates profile of an existing account on the platform. User initiating the request must be authenticated. User initiating the request must be a platform admin.
account required | string Example: alice username of account to be updated |
role required | string Enum: "user" "admin" |
{- "role": "user"
}
{- "errors": [
- "error message"
]
}
Deletes a given account and all data associated with it. User initiating the request must be authenticated. User initiating the request must be a platform admin. User being removed must not have any active team membership. User being removed must not have any pending team invitation. User being removed must not have any pending join request.
{- "errors": [
- "error message"
]
}
Suspends a given account and removes all its active sessions. User initiating the request must be authenticated. User initiating the request must be a platform admin.
account required | string Example: alice username of account to be updated |
{- "errors": [
- "error message"
]
}
Reports server settings. If server is already configured, user initiating the request must be authenticated and a server admin.
{- "contact": {
- "company": "string",
- "email": "string",
- "name": "string"
}, - "mail": {
- "configurable": true,
- "host": "string",
- "pass": "string",
- "port": 0,
- "user": "string"
}, - "telemetry": true
}
Updates server settings. If server is already configured, user initiating the request must be authenticated and a server admin.
telemetry | boolean |
{- "telemetry": true
}
{- "errors": [
- "error message"
]
}
Adds contact information to this server instance.
company | string |
email required | string |
name required | string |
{- "company": "string",
- "email": "string",
- "name": "string"
}
{- "errors": [
- "error message"
]
}
Provides statistics about this Touca server instance. User initiating the request must be authenticated. User initiating the request must be a platform admin.
{- "countBatches": 0,
- "countComparisons": 0,
- "countElements": 0,
- "countMessages": 0,
- "spaceFree": 0,
- "spaceSize": 0,
- "spaceUsed": 0,
- "users": [
- {
- "activationLink": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "fullname": "string",
- "lockedAt": "2019-08-24T14:15:22Z",
- "resetKeyLink": "string",
- "resetKeyCreatedAt": "2019-08-24T14:15:22Z",
- "resetKeyExpiresAt": "2019-08-24T14:15:22Z",
- "role": "unknown",
- "suspended": true,
- "username": "string"
}
]
}
Lists all the suites registered for a given team. User performing the query must be authenticated. User performing the query must be a member of the team. Output may have been cached in the server.
team required | string Example: acme slug of this team |
[- [
- {
- "baseline": {
- "batchSlug": "string",
- "comparedAgainst": "string",
- "expirable": true,
- "isSealed": true,
- "messageCount": 0,
- "submittedAt": "2019-08-24T14:15:22Z",
- "submittedBy": [
- {
- "fullname": "string",
- "username": "string"
}
], - "updatedAt": "2019-08-24T14:15:22Z"
}, - "batchCount": 0,
- "latest": {
- "batchSlug": "string",
- "comparedAgainst": "string",
- "expirable": true,
- "isSealed": true,
- "messageCount": 0,
- "submittedAt": "2019-08-24T14:15:22Z",
- "submittedBy": [
- {
- "fullname": "string",
- "username": "string"
}
], - "updatedAt": "2019-08-24T14:15:22Z"
}, - "overview": {
- "elementsCountDifferent": 0,
- "elementsCountFresh": 0,
- "elementsCountHead": 0,
- "elementsCountMissing": 0,
- "elementsCountPending": 0,
- "elementsScoreAbsolute": 0,
- "elementsScoreAggregate": 0,
- "metricsDurationChange": 0,
- "metricsDurationHead": 0,
- "metricsDurationSign": 0
}, - "suiteName": "string",
- "suiteSlug": "string"
}
]
]
Create a new suite in a given team. User initiating the request must be authenticated. User initiating the request must be a member of the team.
team required | string Example: acme slug of this team |
name required | string |
slug required | string |
{- "name": "string",
- "slug": "string"
}
{- "errors": [
- "error message"
]
}
Learn more about a suite in a given team. User performing the query must be authenticated. User performing the query must be member of the team.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
{- "baseline": {
- "batchSlug": "string",
- "comparedAgainst": "string",
- "expirable": true,
- "isSealed": true,
- "messageCount": 0,
- "submittedAt": "2019-08-24T14:15:22Z",
- "submittedBy": [
- {
- "fullname": "string",
- "username": "string"
}
], - "updatedAt": "2019-08-24T14:15:22Z"
}, - "batchCount": 0,
- "latest": {
- "batchSlug": "string",
- "comparedAgainst": "string",
- "expirable": true,
- "isSealed": true,
- "messageCount": 0,
- "submittedAt": "2019-08-24T14:15:22Z",
- "submittedBy": [
- {
- "fullname": "string",
- "username": "string"
}
], - "updatedAt": "2019-08-24T14:15:22Z"
}, - "overview": {
- "elementsCountDifferent": 0,
- "elementsCountFresh": 0,
- "elementsCountHead": 0,
- "elementsCountMissing": 0,
- "elementsCountPending": 0,
- "elementsScoreAbsolute": 0,
- "elementsScoreAggregate": 0,
- "metricsDurationChange": 0,
- "metricsDurationHead": 0,
- "metricsDurationSign": 0
}, - "suiteName": "string",
- "suiteSlug": "string",
- "batches": [
- "string"
], - "isSubscribed": true,
- "promotions": [
- {
- "at": "2019-08-24T14:15:22Z",
- "by": {
- "fullname": "string",
- "username": "string"
}, - "for": "string",
- "from": "string",
- "to": "string"
}
], - "retainFor": 0,
- "sealAfter": 0,
- "subscriberCount": 0,
- "subscription": "none",
- "teamName": "string",
- "teamSlug": "string"
}
Update suite information in a given team. User initiating the request must be authenticated. User initiation the request must be member of the team.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
name | string |
slug | string |
retainFor | number multiple of 1 [ 86400 .. 157680000 ] |
{- "name": "string",
- "slug": "string",
- "retainFor": 86400
}
{- "errors": [
- "error message"
]
}
Removes a suite and all data associated with it. User initiating the request must be authenticated. User initiating the request must be administrator of the team.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
{- "errors": [
- "error message"
]
}
Subscribe to a suite in a given team. User initiating the request must be authenticated. User initiating the request must be member of the team.
team required | string Example: acme slug of this team |
suite required | string Example: potions-101 slug of this suite |
level | string (ENotificationType) Enum: "none" "different" "all" |
{- "level": "none"
}
{- "errors": [
- "error message"
]
}
Create a new team owned by this user. User initiating the request must be authenticated.
name required | string |
slug required | string |
{- "name": "string",
- "slug": "string"
}
{- "errors": [
- "error message"
]
}
Learn more about a team. User performing the query must be authenticated. User performing the query must be member of the team.
team required | string Example: acme slug of this team |
{- "name": "string",
- "role": "unknown",
- "slug": "string",
- "userCount": 0
}
Update team information. User initiating the request must be authenticated. User initiation the request must be owner of the team.
team required | string Example: acme slug of this team |
name | string |
slug | string |
{- "name": "string",
- "slug": "string"
}
{- "errors": [
- "error message"
]
}
Removes a team and all data associated with it. User initiating the request must be authenticated. User initiating the request must be owner of the team.
team required | string Example: acme slug of this team |
{- "errors": [
- "error message"
]
}
Invite someone to join a team. User initiating the request must be authenticated. User initiating the request must be administrator of the team.
team required | string Example: acme slug of this team |
email required | string <email> |
fullname required | string |
{- "email": "alice@example.com",
- "fullname": "Alice Anderson"
}
{- "errors": [
- "error message"
]
}
Adds user to the team they are invited to. User initiating the request must be authenticated. User initiating the request must be invited to the team.
team required | string Example: acme slug of this team |
{- "errors": [
- "error message"
]
}
Removes team membership invitation for this user. User initiating the request must be authenticated. User initiating the request must be invited to the team.
team required | string Example: acme slug of this team |
{- "errors": [
- "error message"
]
}
Rescind invitation to a team. User initiating the request must be authenticated. User initiating the request must be administrator of the team.
team required | string Example: acme slug of this team |
email required | string <email> |
{- "email": "alice@example.com"
}
{- "errors": [
- "error message"
]
}
Request to join a team. User initiating the request must be authenticated. User initiating the request must not be a member of the team.
team required | string Example: acme slug of this team |
{- "errors": [
- "error message"
]
}
Rescind request to join a team. User initiating the request must be authenticated. User initiating the request must not be a member of the team. User initiating the request must have a pending join request.
team required | string Example: acme slug of this team |
{- "errors": [
- "error message"
]
}
Accept user request to join the team. User initiating the request must be authenticated. User initiating the request must be administrator of the team. User holding the account must have a pending join request.
team required | string Example: acme slug of this team |
account required | string Example: alice username of account to be updated |
{- "errors": [
- "error message"
]
}
Decline user request to join the team. User initiating the request must be authenticated. User initiating the request must be administrator of the team. User holding the account must have a pending join request.
team required | string Example: acme slug of this team |
account required | string Example: alice username of account to be updated |
{- "errors": [
- "error message"
]
}
Cancel membership of a given team. User initiating the request must be authenticated. User initiating the request must be member of the team.
team required | string Example: acme slug of this team |
{- "errors": [
- "error message"
]
}
Lists all members of a team. Information provided for each member includes their roles within this team. Also provides list of users currently invited to join this team. User performing the query must be authenticated. User performing the query must be member of the team.
team required | string Example: acme slug of this team |
{- "applicants": [
- {
- "email": "user@example.com",
- "fullname": "string",
- "username": "string"
}
], - "invitees": [
- {
- "email": "user@example.com",
- "fullname": "string",
- "invitedAt": "2019-08-24T14:15:22Z"
}
], - "members": [
- {
- "email": "user@example.com",
- "username": "string",
- "fullname": "string",
- "role": "unknown"
}
]
}
Adds an existing user to a team. User initiating the request must be authenticated. User initiating the request must be administrator of the platform.
team required | string Example: acme slug of this team |
account required | string Example: alice username of account to be updated |
{- "errors": [
- "error message"
]
}
Updates role of an existing member in a team. User initiating the request must be authenticated. User initiating the request must be a team administrator. User to be updated must be a team member.
team required | string Example: acme slug of this team |
member required | string Example: alice username of member to be updated |
role required | string Enum: "member" "admin" |
{- "role": "member"
}
{- "errors": [
- "error message"
]
}
Removes an existing member from a team. User initiating the request must be authenticated. User initiating the request must be a team administrator. User to be updated must be a team member.
team required | string Example: acme slug of this team |
member required | string Example: alice username of member to be updated |
{- "errors": [
- "error message"
]
}
Populates an existing team with sample test results on behalf of the team owner. User initiating the request must be authenticated. User initiating the request must be a team member.
team required | string Example: acme slug of this team |
{- "errors": [
- "error message"
]
}
Provides non-sensitive account information about the user performing this query. User performing the query must be authenticated.
{- "apiKeys": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "email": "user@example.com",
- "feature_flags": [
- "string"
], - "fullname": "string",
- "platformRole": "guest",
- "user_hash": "string",
- "user_id": "string",
- "username": "string"
}
Updates user information. User initiating the request must be authenticated.
fullname | string |
username | string |
password | string |
{- "fullname": "string",
- "username": "string",
- "password": "string"
}
{- "errors": [
- "error message"
]
}
Removes user's account and all data associated with it. User initiating the request must be authenticated. User initiating the request must not be the platform owner. User must not have any active team membership. User must not have any pending team invitation. User must not have any pending join request.
{- "errors": [
- "error message"
]
}