Skip to content

Commit

Permalink
HMS-2460 feat: update schema for domain reg token
Browse files Browse the repository at this point in the history
- `POST /domains` is used by ipa-hcc to create a new domain. Response
  schema is reduced to domain_id and signing_keys.
- `PUT /domains/:uuid` is used by ipa-hcc to update domain
  information. Response schema is reduced to auto_enrollment_enabled
  state and signing_keys. Request does not take title, description, and
  enabled state.
- `PATCH /domains/:uuid` is used by users to update title, description,
  and auto_enrollment_enabled state. Other fields are not set.

The routes `/domains/:uuid/update` and `/domains/:uuid/register` as well
as unused schema elements been removed.

Signed-off-by: Christian Heimes <[email protected]>
  • Loading branch information
tiran committed Sep 5, 2023
1 parent a4a02b8 commit 4b1597a
Show file tree
Hide file tree
Showing 3 changed files with 329 additions and 456 deletions.
Loading

0 comments on commit 4b1597a

Please sign in to comment.