.. function:: POST /orgs/{oid}/projects/{pid}/restriction/{brid}/distributions
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
application/xml
application/json
- Since:
UForge 3.7
Evaluate the restriction rule to retrieve all distributions for which the project is designed for.
A list of :ref:`distribution-object` objects are returned.
Note
carriage return is not authorized in the restriction rule.
- Requires Authentication:
true
- Entitlements Required:
appliance_create
brid
(required): the id of the :ref:`bundlerestriction-object`pid
(required): the id of the :ref:`project-object`oid
(required): the id of the :ref:`org-object`
A :ref:`bundleRestriction-object` object
curl "https://uforge.example.com/api/orgs/{oid}/projects/{pid}/restriction/{brid}/distributions" -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):
.. seealso:: * :ref:`project-object` * :ref:`projectArtifact-addChild` * :ref:`projectArtifact-addOrRemoveFileFromCache` * :ref:`projectArtifact-create` * :ref:`projectArtifact-createFromRemoteServer` * :ref:`projectArtifact-delete` * :ref:`projectArtifact-deleteAll` * :ref:`projectArtifact-download` * :ref:`projectArtifact-downloadFile` * :ref:`projectArtifact-get` * :ref:`projectArtifact-update` * :ref:`projectArtifact-updateAll` * :ref:`projectArtifact-upload` * :ref:`projectLogo-delete` * :ref:`projectLogo-download` * :ref:`projectLogo-downloadFile` * :ref:`projectLogo-upload` * :ref:`projectRestriction-update` * :ref:`project-availableForImage` * :ref:`project-create` * :ref:`project-delete` * :ref:`project-get` * :ref:`project-getAll` * :ref:`project-update` * :ref:`softwareartifact-object`