Release Automation

  • 1.  REST API permissions

    Posted Mar 06, 2019 05:42 PM

    What permissions are needed for a user to use the REST API to read from the following?

    https://<servername>/datamanagement/a/api/v3/applications/{applicationId}/environments/{envId}/releases/{ReleaseId}

     

    We have a requirement for a single user to have read access to this REST API, and probably others REST API calls at a later date, for all applications in Nolio. Are there any catch-all permissions that can be applied for read permissions through the REST API? Or is it all controlled from permissions to each application?



  • 2.  Re: REST API permissions
    Best Answer

    Broadcom Employee
    Posted Mar 06, 2019 11:44 PM

    Hello Luke,

     The minimum permission required by user to get the access to above is 

     

    Role: user

    Can view Application: True

     

    With above permission the user will be able to get most of the get operations working. Some of the trial I have given is 

    • /api/{versionId}/applications/{appId}/categories
    • /api/{versionId}/applications/{appId}/categories/{categoryId}/templates/{templateId}/get-steps
    • /api/{versionId}/applications/{appId}/categories/{categoryId}/templates
    • /api/{versionId}/applications/{appId}/environments
    • /api/{versionId}/applications/{appId}/environments/{envId}
    • /api/{versionId}/applications/{appId}/environments/{envId}/releases/{releaseId}

     

    I tried it with versionId=v5 as it is recommended for version 6.6 but I think it should work similar in other RA versions.

     

    Regards,

    Saurabh