Skip to content

Commit

Permalink
(#31) update ntrada endpoints for organizations service
Browse files Browse the repository at this point in the history
  • Loading branch information
eggwhat committed May 17, 2024
1 parent 5cd8a62 commit 81d89b8
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions MiniSpace.APIGateway/src/MiniSpace.APIGateway/ntrada.yml
Original file line number Diff line number Diff line change
Expand Up @@ -609,23 +609,24 @@ modules:
use: downstream
downstream: organizations-service/organizations
auth: true

- upstream: /{organizationId}/children
method: POST
use: downstream
downstream: organizations-service/organizations/{organizationId}/children
auth: true

- upstream: /organizer/{organizationId}/organizer
- upstream: /{organizationId}/organizer
method: POST
use: downstream
downstream: organizations-service/organizations/{organizationId}/organizer
auth: true

- upstream: /organizer/{organizationId}/organizer/{organizerId}
- upstream: /{organizationId}/organizer/{organizerId}
method: DELETE
use: downstream
downstream: organizations-service/organizations/{organizationId}/organizer/{organizerId}
auth: true

- upstream: /
method: GET
use: downstream
downstream: organizations-service/organizations

- upstream: /{organizationId}
method: GET
Expand All @@ -647,6 +648,11 @@ modules:
use: downstream
downstream: organizations-service/organizations/{organizationId}/children

- upstream: /{organizationId}/children/all
method: GET
use: downstream
downstream: organizations-service/organizations/{organizationId}/children/all

- upstream: /organizer/{organizerId}
method: GET
use: downstream
Expand Down

0 comments on commit 81d89b8

Please sign in to comment.