Attachment


Get Attachment

GET /ftpStorage/{testRunIssueId}/getAttachedFiles/{resultId}

Description

Upload file.


Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

resultId

Id of execution result.

true

integer (int32)


PathParameter

testRunIssueId

Id of TestRunIssueId

true

integer (int64)


QueryParameter

maxResults

Maximum number of Attached Files to return in each call. Maximum possible value is 50. By default maximum value will be returned.

false

integer (int32)

50

QueryParameter

offset

Index of the first Attached file details needed to be fetched.

false

integer (int32)

0


Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

400

Returned if FTP details is not configured.

No Content

403

Returned if permission denied.

No Content

404

Returned if connection never established.

No Content

500

Returned if there is some problem in fetching file list.

No Content


Consumes

  • application/json


Produces

  • application/json


Tags

  • Attachment


Attach file

POST /ftpStorage/{testRunIssueId}/uploadFile/{resultId}

Description

Attach file.


Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

resultId

Id of execution result.

true

integer (int32)


PathParameter

testRunIssueId

Id of TestRunIssueId

true

integer (int64)



Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

400

Returned if FTP details is not configured.

No Content

403

Returned if permission denied.

No Content

404

Returned if connection never established.

No Content

500

Returned if there is some problem in uploading file.

No Content


Produces

  • application/json


Tags

  • Attachment