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

feat: add models and module for CMS collections #1

Closed
14 of 16 tasks
EmilePerron opened this issue Feb 19, 2023 · 1 comment · Fixed by #5
Closed
14 of 16 tasks

feat: add models and module for CMS collections #1

EmilePerron opened this issue Feb 19, 2023 · 1 comment · Fixed by #5

Comments

@EmilePerron
Copy link
Contributor

EmilePerron commented Feb 19, 2023

At the moment, the API client offers models and a client module for the "meta" models (AuthorizedUser, Authorization and Application), but it does not yet include functionality for the CMS collection endpoints and models.

  • Models
    • Add Collection model
    • Add CollectionItem model
    • Add Field model
    • Add FieldType model
  • Module
    • List Collections (GET)
    • Get Collection (GET)
    • List Collection Items (GET)
    • Remove Collection Items (DELETE)
    • Create Collection Item (POST)
    • Publish Collection Items (PUT)
    • Update Collection Item (PUT) cancelled: only one item update method is needed, and PATCH was used.
    • Patch Collection Item (PATCH)
    • Get Collection Item (GET)
    • Remove Collection Item (DELETE)

Webflow API documentation: https://developers.webflow.com/reference
Models documentation: https://developers.webflow.com/docs/models

@EmilePerron
Copy link
Contributor Author

FieldType is actually implemented as an Enum, and a Validation model has also been added.

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 a pull request may close this issue.

1 participant