POST /users/{uid}/mysoftware/{msid}/artifacts/{said}/subsoftwareartifacts
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
application/xml
application/json
- Since:
UForge 3.6
Creates a child to a the software artifact (it will be a sub-software artifact) of the software component.
- Requires Authentication:
true
- Entitlements Required:
software_upload
uid
(optional):msid
(required): the id of themySoftware-object
said
(required): the id of thesoftwareartifact-object
A softwareArtifact-object
object
curl "https://uforge.example.com/api/users/{uid}/mysoftware/{msid}/artifacts/{said}/subsoftwareartifacts" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@representation.xml"
Example of representation.xml content (the request body):
mySoftware-object
mySoftwareArtifact-add
mySoftwareArtifact-addOrRemoveFileFromCache
mySoftwareArtifact-createFromRemoteServer
mySoftwareArtifact-delete
mySoftwareArtifact-deleteAll
mySoftwareArtifact-download
mySoftwareArtifact-downloadFile
mySoftwareArtifact-get
mySoftwareArtifact-getAll
mySoftwareArtifact-update
mySoftwareArtifact-updateAll
mySoftwareArtifact-upload
mySoftwareExportStatus-get
mySoftwareExport-delete
mySoftwareExport-download
mySoftwareLicense-delete
mySoftwareLicense-download
mySoftwareLicense-upload
mySoftwareLicense-uploadFile
mySoftwareLogo-delete
mySoftwareLogo-download
mySoftwareLogo-downloadFile
mySoftwareLogo-upload
mySoftwareRestrictionOS-evaluate
mySoftwareRestriction-update
mySoftwareUsage-getAll
mySoftware-availableForImage
mySoftware-clone
mySoftware-create
mySoftware-delete
mySoftware-export
mySoftware-get
mySoftware-getAll
mySoftware-update
softwareBundleImport-get
softwareartifact-object
softwarebundleImportStatus-get
softwarebundleImport-upload
softwarebundle-import