Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
outlinetrue

Overview

Swagger is an interactive documentation system that also allows you to conveniently try out & make REST API calls from the documentation page itself.   

...

17.  Click on PUT /api/v1/users/{key} button, 

1822.  Click the Try it out button.  The "User info that needs to be updated" fields should show up.  
     

1923.  Click the Edit button.  The field should now become editable.  

2024.  Fill out the requested fields, ie: firstName, lastName, permissions.    

       (info) Currently the following permissions are available:


USER_CREATE

Create user permission

USER_READ

User read permission

USER_MODIFY

User modification permission

USER_REMOVE

User remove permission

REPOSITORY_CREATE

Create repository permission

REPOSITORY_MODIFY

Repository modification permission

REPOSITORY_DELETE

Repository deletion permission

CONTAINER_CREATE

Create container permission

CONTAINER_MODIFY

Container modification permission

ARTIFACT_RELATION_WRITE

Artifact relation write permission

CONTAINER_DELETE

Container deletion permission

READ

General read permission


25.  Click the blue Execute button.  

26.  If successful, you should receive an HTTP 200 response back with JSON data.  If there was a form error, you should receive an HTTP 4XX response back with an appropriate error message.