SpiraTeam: REST Web Service (v4.0)

See all operations

POST: projects/{project_id}/documents/{document_id}/versions/file?filename={filename}&version={version}&make_current={make_current}

Description

Adds a new version to a file attachment in the system

How to Execute

To access this REST web service, you need to use the following URL:

http://api.inflectra.com/Spira/Services/v4_0/RestService.svc/projects/{project_id}/documents/{document_id}/versions/file?filename={filename}&version={version}&make_current={make_current}

Request Parameters

Name Description
project_id The id of the current project
document_id The id of the document that we're adding this new version to
filename The filename of the file version being uploaded
version The number of the version being added
make_current Should we make this the current version

Request Body

Property Description

Return Data

The JSON and XML examples below show the shape of one entry that will be returned. It does not show an example of how that entry will be populated.

Property Description
MaxValue
MinValue