As of December 31st, 2023 ThreadFix 2.X has reached End of Life and is no longer supported. For any further information please contact the Success and Implementation team.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

/rest/applications/{appId}/version/{versionId}

 

Descriptor

Value

HTTP Method

PUT

Description

Updates the specified application version's name and/or date.

Required Permission

Manage Applications

Version Introduced2.5.1

 

Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

A value of ‘application/json’ must be provided.

 

Request POST Data Parameters

Parameter

Value

Required

Description

versionName

String

No

The new name to assign to the application version.

versionDate

String

No

The new date to assign to the application version, in the format yyyy-MM-dd.


Sample Call:

curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" -X PUT --data 'versionName=Version 1.1&versionDate=2017-08-02' http://localhost:8080/threadfix/rest/latest/applications/45/version/27

 

Sample Output:


{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": {
        "id": 1,
        "name": "Version 1.1",
        "date": 1501650000
    }
}

  • No labels