projectArtifact_update¶
-
PUT /orgs/{oid}/projects/{pid}/artifacts/{said}
Updates the information of a software artifact in a project. This only updates the meta-data for the software artifact. Please use projectArtifact_upload to upload the file(s).
Please refer to softwareArtifact (softwareFile, bootScript or osPackage) for a complete list of all the software artifact
attributes.
Security Summary¶
- Requires Authentication:
true
- Entitlements Required:
software_upload
URI Parameters¶
pid
(required): the id of the projectoid
(required): the id of the orgsaid
(required): the id of the softwareArtifact
HTTP Request Body Parameters¶
A softwareArtifact object
Example Request¶
curl "https://uforge.example.com/api/orgs/{oid}/projects/{pid}/artifacts/{said}" -X PUT \
-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
- project
- projectArtifact_addChild
- projectArtifact_addOrRemoveFileFromCache
- projectArtifact_create
- projectArtifact_createFromRemoteServer
- projectArtifact_delete
- projectArtifact_deleteAll
- projectArtifact_download
- projectArtifact_downloadFile
- projectArtifact_get
- projectArtifact_getAll
- projectArtifact_updateAll
- projectArtifact_upload
- projectLogo_delete
- projectLogo_download
- projectLogo_downloadFile
- projectLogo_upload
- projectRestrictionOS_evaluate
- projectRestriction_update
- project_availableForImage
- project_create
- project_delete
- project_get
- project_getAll
- project_update
- softwareArtifact