Platform API


Add new platform

POST /platform

Description

Add new platform in given project.


Parameters

TypeNameDescriptionRequiredSchemaDefault

BodyParameter

body

Platform object that needs to create

true

CreatePlatformRequest



Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

400

Returned if parameters is invalid.

No Content

403

Returned if the currently authenticated user does not have permission to access given project.

No Content

500

Returned if there is some problem in adding of platform.

No Content


Consumes

  • application/json


Produces

  • application/json


Tags

  • Platform


Get platforms

GET /platform

Description

Get list of platforms by project id.


Parameters

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

projectId

Id of project.

false

integer (int64)


QueryParameter

maxResult

Maximum number of test scenarios to return in each call. Maximum possible value is 100. By default maximum value will be returned.

false

integer (int32)

100

QueryParameter

offset

Index of the first test scenarios to return.Default is 0.

false

integer (int32)

0


Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

400

Returned if the project id is invalid.

No Content

403

Returned if the currently authenticated user does not have permission to access given project.

No Content

404

Returned if the given project is not found.

No Content

500

Returned if there is some problem in retrieval of platform.

No Content


Consumes

  • application/json


Produces

  • application/json


Tags

  • Platform


Delete platform

DELETE /platform/{platformId}

Description

Delete platform by platform id.


Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

platformId

Id of platform.

true

integer (int32)



Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

400

Returned if platform id is invalid.

No Content

403

Returned if the currently authenticated user does not have permission to access given project.

No Content

404

Returned if the given platform is not found.

No Content

500

Returned if there is some problem in deleting of platform.

No Content


Consumes

  • application/json


Produces

  • application/json


Tags

  • Platform


Get Platform

GET /platform/{platformId}

Description

Get platform by platform id.


Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

platformId

Id of platform.

true

integer (int32)



Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

400

Returned if platform id is invalid.

No Content

403

Returned if the currently authenticated user does not have permission to access given project.

No Content

404

Returned if the given platform is not found.

No Content

500

Returned if there is some problem in retrieval of platform.

No Content


Consumes

  • application/json


Produces

  • application/json


Tags

  • Platform


Update platform

PUT /platform/{platformId}

Description

Update platform by id.


Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

platformId

Id of platform.

true

integer (int32)


BodyParameter

body


false

UpdatePlatformRequest



Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

400

Returned if platform id is invalid.

No Content

403

Returned if the currently authenticated user does not have permission to access given project.

No Content

404

Returned if the given platform is not found.

No Content

500

Returned if there is some problem in updating of platform.

No Content


Consumes

  • application/json


Produces

  • application/json


Tags

  • Platform

CreatePlatformRequest

NameDescriptionRequiredSchemaDefault

projectId

Id of project

true

integer (int64)


name

Name of platform

true

string


UpdatePlatformRequest

NameDescriptionRequiredSchemaDefault

name

Name of platform

true

string