Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images endpoint #11

Closed
wants to merge 4 commits into from
Closed

Images endpoint #11

wants to merge 4 commits into from

Conversation

scotchneat
Copy link
Contributor

@scotchneat scotchneat commented Jul 20, 2020

Adding the /images endpoint/routes.

Opening this PR now as a draft since it's a work in progress.

This PR includes the following methods:

  • - List all images: GET /images
  • - Retrieve an image by id or slug: GET /images/{image_identifier}:
    • List All Distribution Images: type=distribution query param
    • List All Application Images: type=application query param
    • List a User's Images: private=true query param
    • List Images by Tag: tag_name=XXXX query param
  • Retrieve an Existing Image by ID or slug
  • Create a Custom Image
  • Update an Image
  • List All Actions for an Image
  • Delete an Image

Cesar Garza added 4 commits July 20, 2020 15:03
@hilary
Copy link
Contributor

hilary commented Jul 21, 2020

It's unfortunate that you can't reuse the images model... We may want to mark the readOnly fields that way anyway...

@scotchneat
Copy link
Contributor Author

I'm going to cancel this PR and break it up to smaller chunks. This will allow me to also start the Actions Endpoint to have the dependent pieces done before doing the Images Actions endpoints.

@scotchneat scotchneat closed this Jul 21, 2020
@scotchneat scotchneat deleted the images-endpoint branch July 22, 2020 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants