...
NOTE: This API method will not create a document of type File in Documents. It is just the first step for the process of creating such a document. See "Creating a new document or folder" section above.
Request URL
The request URL takes the following form:
POST <ROOT>/rest/stonikbyte-documents-api/1.0/temporary-attachment?filename={fileName}&projectId=(projectID}&atl_token={atlToken}
...
Parameter | Description |
---|---|
filename | The name of the file attached. |
projectId | The id of the Jira project where the document will be created |
atl_token | The upload token. To obtain the token, see Obtaining the Upload Token section below |
Make sure to set these header parameters:
...