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

Create the items client methods #7

Open
LautaroPetaccio opened this issue Oct 29, 2021 · 0 comments
Open

Create the items client methods #7

LautaroPetaccio opened this issue Oct 29, 2021 · 0 comments

Comments

@LautaroPetaccio
Copy link
Collaborator

To complete this task the following APIs should be queryable from the client:

  • GET: /${address}/items
  • GET: /items/${id}
  • GET: /collections/${collectionId}/items
  • PUT: /items/${item.id} and POST: /items/${item.id}/files to save an item and upload their files.
  • DELETE: /items/${item.id}

Take into consideration the following:

  • The types that currently live in the builder UI must be moved to either @dcl/schemas or the client itself.
  • The fromX and toX methods must be included in the client. They don't need to be exported.
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

No branches or pull requests

1 participant