Skip to content

Feat target controllers account user - #5996

Closed
fanatic75 wants to merge 33 commits into
1.4.xfrom
feat-target-controllers-account-user
Closed

fanatic75 wants to merge 33 commits into
1.4.xfrom
feat-target-controllers-account-user

Conversation

@fanatic75

@fanatic75 fanatic75 commented Aug 16, 2023 •

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR adds multiple controllers for targets attribute in user namespace and account namespace.

  • GET /v1/users/{id}/targets: (Admin / Auth Key) Return all user targets.
  • GET /v1/users/{id}/targets/{id}: (Admin / Auth Key) Returns a single target.
  • POST /v1/users/{id}/targets: (Admin / Auth Key) Create a new target.
  • PATCH /v1/users/{id}/targets/{id}/identifier: (Session / JWT) Update a target identifier.
  • DELETE /v1/users/{id}/targets/{id}: Deletes a target.
  • GET /v1/account/targets: (Session / JWT) Return all user targets.
  • GET /v1/account/targets/{id}: (Session / JWT) Returns a single target.
  • POST /v1/account/targets: (Session / JWT) Create a new target.
  • PATCH /v1/account/targets/{id}/identifier: (Session / JWT) Update a target identifier.
  • DELETE /v1/account/targets/{id}: Deletes a target.

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Screenshots may also be helpful.)

Related PRs and Issues

  • (Related PR or issue)

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?

@fanatic75 fanatic75 added the product / messaging Fixes and upgrades for the Appwrite Messaging. label Aug 16, 2023
@fanatic75
fanatic75 marked this pull request as draft August 16, 2023 14:45
@fanatic75
fanatic75 marked this pull request as ready for review August 18, 2023 18:39
@fanatic75
fanatic75 requested review from abnegate and wess August 18, 2023 19:15
@fanatic75
fanatic75 changed the base branch from 1.5.x to 1.4.x August 18, 2023 19:46
@fanatic75
fanatic75 changed the base branch from 1.4.x to feat-messages-event-config August 18, 2023 19:48
@fanatic75
fanatic75 changed the base branch from feat-messages-event-config to 1.4.x August 21, 2023 08:44
@fanatic75 fanatic75 closed this Aug 24, 2023
@abnegate
abnegate deleted the feat-target-controllers-account-user branch October 25, 2023 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product / messaging Fixes and upgrades for the Appwrite Messaging.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant