Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Maybe: Expose nested subresources under user? #171

Open
0xCLARITY opened this issue Mar 27, 2020 · 1 comment
Open

Maybe: Expose nested subresources under user? #171

0xCLARITY opened this issue Mar 27, 2020 · 1 comment
Labels
API: Private CRUD Issues related to the Private API Enhancement New feature or request

Comments

@0xCLARITY
Copy link
Collaborator

It may make sense for the private API to expose nested resources under user.

For example, GET /v1/users/$xpring.money/hbergren/addresses/xrpl-testnet

Then you could imagine the following "helper methods":

  • POST /v1/users/$xpring.money/hbergren/addresses/
  • PUT /v1/users/$xpring.money/hbergren/addresses/xrpl-testnet
  • PATCH /v1/users/$xpring.money/hbergren/addresses/xrpl-testnet
  • DELETE /v1/users/$xpring.money/hbergren/addresses/xrpl-testnet

This is probably related to #142 (implementing PATCH for the private API), and maybe even #141.

@0xCLARITY 0xCLARITY added the Enhancement New feature or request label Mar 27, 2020
@dino-rodriguez
Copy link
Member

dino-rodriguez commented Apr 2, 2020

This sounds like something GraphQL could do quite well.

@0xCLARITY 0xCLARITY added the API: Private CRUD Issues related to the Private API label Jun 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API: Private CRUD Issues related to the Private API Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants