mySoftwareArtifact_update

PUT /users/{uid}/mysoftware/{msid}/artifacts/{said}

Updates the information of a software artifact in a software component.

This only updates the meta-data for the software artifact, please use mySoftwareArtifact_upload to upload the file(s).

Please refer to package for a complete list of all the software artifact attributes.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: software_upload

URI Parameters

HTTP Request Body Parameters

A softwareArtifact object

Example Request

curl "https://uforge.example.com/api/users/{uid}/mysoftware/{msid}/artifacts/{said}" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: 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>