POST /users/{uid}/mysoftware
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
application/xml
application/json
- Since:
UForge 1.0
Creates a new software component in a user's Software library
.
Once created, the user can upload software files (open source or proprietary). This software component can be added to one or more appliance templates.
Please refer to mySoftware-object
for a complete list of all the my software
attributes.
- Requires Authentication:
true
- Entitlements Required:
software_upload
uid
(required): the user name (login name) of theuser-object
A mySoftware-object
object
curl "https://uforge.example.com/api/users/{uid}/mysoftware" -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:mySoftware xmlns:ns0="http://www.usharesoft.com/uforge">
<name>Example</name>
<version>1.0</version>
</ns0:mySoftware>
mySoftware-object
mySoftwareArtifact-add
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-delete
mySoftware-export
mySoftware-get
mySoftware-getAll
mySoftware-update
softwareBundleImport-get
softwarebundleImportStatus-get
softwarebundleImport-upload
softwarebundle-import