Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-7579

API PUT /superuser/users/<username> do not show up in swagger

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Minor Minor
    • quay-v3.13.5
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      I am using:
       

      curl -X 'POST' \
        'http://localhost:8080/api/v1/superuser/users/' \
        -H 'Content-Type: application/json' \
        -H "Authorization: Bearer $TOKEN" \
        -d '{
        "username": "mmortari",
        "email": "mmortari"
      }'
      

      to create a user and then:

      curl -X 'PUT' \
        'http://localhost:8080/api/v1/superuser/users/mmortari' \
        -H 'Content-Type: application/json' \
        -H "Authorization: Bearer $TOKEN" \
        -d '{
        "username": "mmortari",
        "email": "mmortari",
        "password": "..."
      }'
      

      to set a password programmatically.

      The PUT for `superuser/users/mmortari` is not documented in the swagger (http://localhost:8080/api/v1/discovery)

              rhn-support-sbhavsar Sayali Bhavsar
              mmortari@redhat.com Matteo Mortari
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: