As we reach the end of September 2024, ThreadFix version 3.x on-premises has officially reached its End-of-Life. Therefore, there is no longer support or updates for this version of the product. We have fully transitioned our product and development teams to focus ThreadFix SaaS and migrating all customers over from the on-premises versions. Our Customer Success and Support teams are here to help you in migrating to ThreadFix SaaS and maximizing the value you see from this improved offering from Coalfire. This is the next phase of ThreadFix and our team is looking forward to continuing to support you on this journey.

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

« Previous Version 8 Next »

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

Descriptor

Value

HTTP Method

POST

Description

Creates an application version for the specified application.

Required Permission

Manage Applications

Version Introduced

2.5.1

Changes in 2.8.3

Added "versionTimezone" parameter.

Changes in 3.0.8

Added "versionTimezone" parameter.

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

Yes

The name of the new application version that is being created.

versionDate

Date

Yes

The date for the application version, in the format yyyy-MM-ddThh:mm:ss

Note: 2.8.2.3 API versions and older only allow yyyy-MM-dd.

Note: 2.8.2.3 API versions and older only allow yyyy-MM-dd.

versionTimezone

String

Yes

List of available Server Time Zone Options for API Calls.

Note: 2.8.2.3 API versions and older only allow yyyy-MM-dd and will be defaulted to midnight of the system time zone.

Note: 2.8.2.3 API versions and older only allow yyyy-MM-dd and will be defaulted to midnight of the system time zone.

Sample Call:

curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" -X POST --data 'versionName=Version 1.0&versionDate=2017-08-01' http://localhost:8080/threadfix/rest/latest/applications/1/version

Sample Output:

Values for date are returned as Epoch time in milliseconds.

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

  • No labels