Skip to content

Conversation

@mihow
Copy link
Collaborator

@mihow mihow commented Nov 23, 2023

New CRUD views and endpoints for Storage Source, Site & Device models. As well as a new POST endpoint to "star" a source image.

Starred captures are added to a special collection called "Starred Images" that is unique to each project. It will be created the first time it is used.
http://localhost:8000/api/v2/captures/1902731/star

Collections that a source image belongs to are available in the detail response for a capture. Starred collections have a sampling method of "starred". So it should be possible to know if an image has already been starred.

Storage Source has several read-only fields, as well as 2 write-only fields (access key & secret key)

image image image

@netlify
Copy link

netlify bot commented Nov 23, 2023

Deploy Preview for ami-web ready!

Name Link
🔨 Latest commit b778bf8
🔍 Latest deploy log https://app.netlify.com/sites/ami-web/deploys/6560492e855c380008f8878c
😎 Deploy Preview https://deploy-preview-325--ami-web.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 84
Accessibility: 100
Best Practices: 92
SEO: 92
PWA: 70
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Nov 23, 2023

Deploy Preview for ami-storybook ready!

Name Link
🔨 Latest commit b778bf8
🔍 Latest deploy log https://app.netlify.com/sites/ami-storybook/deploys/6560492e78a42f0008793686
😎 Deploy Preview https://deploy-preview-325--ami-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mihow mihow merged commit dc48ece into main Nov 24, 2023
@mihow mihow deleted the feat/new-endpoints branch November 24, 2023 06:58
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