POST /orgs/{oid}/projects/{pid}/artifacts/{said}/subsoftwareartifacts
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
application/xml
application/json
- Since:
UForge 3.6
Creates a child in a software artifact.
- Requires Authentication:
true
- Entitlements Required:
software_upload
pid
(required): the id of theproject-object
oid
(required): the id of theorg-object
said
(required): the id of thesoftwareartifact-object
A softwareArtifact-object
object
curl "https://uforge.example.com/api/orgs/{oid}/projects/{pid}/artifacts/{said}/subsoftwareartifacts" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"
Example of representation.xml content (the request body):
project-object
projectArtifact-addOrRemoveFileFromCache
projectArtifact-create
projectArtifact-createFromRemoteServer
projectArtifact-delete
projectArtifact-deleteAll
projectArtifact-download
projectArtifact-downloadFile
projectArtifact-get
projectArtifact-getAll
projectArtifact-update
projectArtifact-updateAll
projectArtifact-upload
projectLogo-delete
projectLogo-download
projectLogo-downloadFile
projectLogo-upload
projectOs-getAll
projectRestrictionOs-getAll
projectRestriction-add
projectRestriction-delete
projectRestriction-deleteAll
projectRestriction-get
projectRestriction-getAll
projectRestriction-update
project-create
project-delete
project-get
project-getAll
project-update
softwareartifact-object