diff --git a/doc-app/docs/api/user/subdomains.md b/doc-app/docs/api/user/subdomains.md index 57ff623..023ee10 100644 --- a/doc-app/docs/api/user/subdomains.md +++ b/doc-app/docs/api/user/subdomains.md @@ -1,4 +1,5 @@ # Subdomains +Subdomains are important because all users interact with them directly, bypassing the domain controller. ### Base requirements - Auth: `Bearer token` @@ -10,10 +11,10 @@ - Max elements for 1 domain for user: `3` -> | name | type | data type | description | -> |-----------|----------|-----------|-------------------| -> | domainUid | required | UUID | domain uid | -> | value | required | string | subdomain address | +> | name | type | data type | description | +> |-----------|-------------------|-----------|-------------------| +> | domainUid | required | UUID | domain uid | +> | value | required / unique | string | subdomain address | ### Validation - value @@ -40,6 +41,12 @@ } ``` +### Errors +- [Not unique](../misc/errors.md#notunique) +- [Not valid](../misc/errors.md#notvalid) +- [Too many records](../misc/errors.md#tomanyrecords) + + ## GET Get all user domains data - Method: `GET` @@ -78,4 +85,9 @@ Get all user domains data ``` ## DELETE / `{id}` -- Method: `DELETE` \ No newline at end of file +- Method: `DELETE` +- Url: `/api/v1/user/subdomains` + +### Errors +- [Not found](../misc/errors.md#errors) +- [Is using](../misc/errors.md#isusing) \ No newline at end of file diff --git a/doc-app/docs/api/user/tags.md b/doc-app/docs/api/user/tags.md index 3fd9cd1..53ca986 100644 --- a/doc-app/docs/api/user/tags.md +++ b/doc-app/docs/api/user/tags.md @@ -7,6 +7,8 @@ Each tag is associated with a specific **user** Get all user tags - Method: `GET` - Url: `/api/v1/user/tags` +- Create: automate [with link](../user/links.md#create) + ### Response (200)