mySoftwareArtifact_add¶
-
POST /users/{uid}/mysoftware/{msid}/artifacts
Adds a new software artifact to a software component. This only creates the meta-data for the software artifact, please use mySoftwareArtifact_upload to upload the file(s).
Please refer to softwareArtifact for a complete list of all the software artifact
attributes.
Security Summary¶
- Requires Authentication:
true
- Entitlements Required:
software_upload
URI Parameters¶
uid
(required): the id of the usermsid
(required): the id of the mySoftware
HTTP Request Body Parameters¶
A softwareArtifact object
Example Request¶
curl "https://uforge.example.com/api/users/{uid}/mysoftware/{msid}/artifacts" -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):
<ns0:softwareFile xmlns:ns0="http://www.usharesoft.com/uforge">
<size>10</size>
<name>artifact</name>
<fullName>artifact</fullName>
<origName>artifact</origName>
<shortTag>softwarefile</shortTag>
</ns0:softwareFile>
See also
- mySoftware
- mySoftwareArtifact_addChild
- 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
- softwareBundleImportStatus_get
- softwareBundleImport_upload
- softwareBundle_import