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

[DOC] need description for API "/api/v1/user/clientkey"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • quay-3.7, quay-v3.8.0
    • documentation
    • False
    • None
    • False
    • 0

    Description

      Description of problem:

      There is no description about API  "/api/v1/user/clientkey" in official document Red Hat Quay API Guide  and discovery result.  But this API is workable and QE often use this API. It is better to add the description.

       

      $ curl -k -X POST -H 'Content-Type: application/json' -H "Authorization: Bearer IW0AX45KOIAH57G06CV9K8J9QWM3T0RQYEDGUH6Z"  --data '{"password": "12345678"}' https://quayregistry-quay-quay-enterprise.apps.whu410az39.qe.azure.devcluster.openshift.com/api/v1/user/clientkey
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      100   100  100    76  100    24     56     17  0:00:01  0:00:01 --:--:--    74
      {
        "key": "p/8Nt5SC6O+4UWOcI+KJD4Kcda+uESjUnLtuQe/4pa5G0bQ8DkKIPXhemxV/EItw"
      }
      

       

      $ curl -k https://quayregistry-quay-quay-enterprise.apps.whu48az4.qe.azure.devcluster.openshift.com/api/v1/discovery |jq .|grep '"x-path": "/api/v1/'|sort
      ......
            "x-path": "/api/v1/superuser/users/{namespace}/quota",
            "x-path": "/api/v1/superuser/users/{namespace}/quota/{quota_id}",
            "x-path": "/api/v1/user/",
            "x-path": "/api/v1/user/aggregatelogs",
            "x-path": "/api/v1/user/apptoken",
            "x-path": "/api/v1/user/apptoken/{token_uuid}",
            "x-path": "/api/v1/user/exportlogs",
            "x-path": "/api/v1/user/logs",
            "x-path": "/api/v1/user/quota",
            "x-path": "/api/v1/user/quota/{quota_id}",
            "x-path": "/api/v1/user/quota/{quota_id}/limit",
            "x-path": "/api/v1/user/quota/{quota_id}/limit/{limit_id}",
            "x-path": "/api/v1/user/robots",
            "x-path": "/api/v1/user/robots/{robot_shortname}",
            "x-path": "/api/v1/user/robots/{robot_shortname}/permissions",
            "x-path": "/api/v1/user/robots/{robot_shortname}/regenerate",
            "x-path": "/api/v1/user/starred",
            "x-path": "/api/v1/user/starred/{repository}",
            "x-path": "/api/v1/users/{username}",
      

      Attachments

        Activity

          People

            rhn-support-stevsmit Steven Smith
            rhwhu Weihua Hu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: