Fix docs: change device_profile_uuid to body in get api

Remove useless device_profile_uuid.

Closes-Bug: 2000914
Change-Id: I804fd9dddaacbde33dbdf16038975678df294ee9
This commit is contained in:
songwenping 2023-01-03 14:45:09 +08:00 committed by Wenping Song
parent 8fbd52df7c
commit 61ade6672e
2 changed files with 9 additions and 10 deletions

View File

@ -34,7 +34,7 @@ Response
- device_profiles: device_profiles
- name: device_prof_name_resp
- uuid: device_profile_uuid
- uuid: device_profile_uuid_resp
- description: device_profile_description
- groups: device_prof_groups_resp
- created_at: created
@ -70,7 +70,7 @@ Response
- device_profile: device_profile
- name: device_prof_name_resp
- uuid: device_profile_uuid
- uuid: device_profile_uuid_resp
- description: device_profile_description
- groups: device_prof_groups_resp
- created_at: created
@ -106,7 +106,7 @@ Response
.. rest_parameters:: parameters.yaml
- name: device_prof_name_resp
- uuid: device_profile_uuid
- uuid: device_profile_uuid_resp
- description: device_profile_description
- groups: device_prof_groups_resp
- created_at: created

View File

@ -19,13 +19,6 @@ device_profile_name_or_uuid:
required: true
type: string
min_version: 2.2
device_profile_uuid:
description: |
The uuid of the device_profile for your accelerator request.
This must be a valid uuid otherwise api will return 400.
in: path
required: true
type: string
device_profile_uuid_v_21:
description: |
The uuid of the device_profile for your accelerator request.
@ -221,6 +214,12 @@ device_profile_name:
in: body
required: true
type: string
device_profile_uuid_resp:
description: |
The uuid of the device_profile.
in: body
required: true
type: string
device_profiles:
description: |
A list of ``device profiles`` objects.