Skip to content

Files

Latest commit

 

History

History
54 lines (38 loc) · 1.07 KB

api-user-createStar.adoc

File metadata and controls

54 lines (38 loc) · 1.07 KB

createStar

POST /api/v1/user/starred

Authorizations: oauth2_implicit (repo:read)

Request body schema (application/json)

Name Description Schema

namespace
required

Namespace in which the repository belongs

string

repository
required

Repository name

string

Responses

HTTP Code Description Schema

201

Successful creation

400

Bad Request

401

Session required

403

Unauthorized access

404

Not found

Example command

$ curl -X POST "https://quay-server.example.com/api/v1/user/starred" \
  -H "Authorization: Bearer <your_access_token>" \
  -H "Content-Type: application/json" \
  -d '{
        "namespace": "<namespace>",
        "repository": "<repository_name>"
      }'