docs: update api-reference project for v2 (#7307)

* remove everything v1 and make v2 default

* move main v2 rewrites to book

* move rewrites to book + other fixes
This commit is contained in:
Shahed Nasser
2024-05-16 10:02:35 +03:00
committed by GitHub
parent 9b1998b9b2
commit 22f30f54fd
2148 changed files with 8965 additions and 140283 deletions

View File

@@ -1,27 +1,18 @@
type: object
description: SUMMARY
x-schemaName: AdminUpdateUserRequest
required:
- avatar_url
properties:
first_name:
description: The first name of the User.
type: string
title: first_name
description: The user's first name.
last_name:
description: The last name of the User.
type: string
role:
description: >-
The role assigned to the user. These roles don't provide any different
privileges.
title: last_name
description: The user's last name.
avatar_url:
type: string
enum:
- admin
- member
- developer
api_token:
description: The API token of the User.
type: string
metadata:
description: An optional set of key-value pairs with additional information.
type: object
externalDocs:
description: Learn about the metadata attribute, and how to delete and update it.
url: >-
https://docs.medusajs.com/development/entities/overview#metadata-attribute
title: avatar_url
description: The user's avatar url.