diff --git a/doc/compiled.json b/doc/compiled.json index e8d71ee5..c4939186 100644 --- a/doc/compiled.json +++ b/doc/compiled.json @@ -204,7 +204,7 @@ "Translations", "Uploads", "Tags", - "Custom Metadata Labels", + "Custom Metadata Properties", "Blacklisted Keys", "Versions / History" ] @@ -698,9 +698,9 @@ } } }, - "custom_metadata_label": { + "custom_metadata_property": { "type": "object", - "title": "custom_metadata_label", + "title": "custom_metadata_property", "properties": { "id": { "type": "string" @@ -6055,9 +6055,9 @@ }, "/accounts/{account_id}/custom_metadata/labels": { "get": { - "summary": "List labels", - "description": "List all custom metadata labels for an account.\n\nThis endpoint is only available to accounts with advanced plans or above.\n", - "operationId": "custom_metadata_labels/list", + "summary": "List custom metadata properties", + "description": "List all custom metadata properties for an account.\n\nThis endpoint is only available to accounts with advanced plans or above.\n", + "operationId": "custom_metadata_properties/list", "tags": [ "Custom Metadata" ], @@ -6084,7 +6084,7 @@ } }, { - "description": "ids of projects that the labels belong to", + "description": "ids of projects that the properties belong to", "example": [ "abcd1234cdef1234abcd1234cdef1234" ], @@ -6124,7 +6124,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/custom_metadata_label" + "$ref": "#/components/schemas/custom_metadata_properties" } } } @@ -6161,7 +6161,7 @@ }, { "lang": "CLI v2", - "source": "phrase custom_metadata_labels list \\\n--account_id \\\n--branch my-feature-branch \\\n--page 1 \\\n--per_page 10 \\\n--project_ids [1,2,3] \\\n--sort created_at \\\n--order desc \\\n--access_token " + "source": "phrase custom_metadata_properties list \\\n--account_id \\\n--branch my-feature-branch \\\n--page 1 \\\n--per_page 10 \\\n--project_ids [1,2,3] \\\n--sort created_at \\\n--order desc \\\n--access_token " } ], "x-cli-version": "2.9" diff --git a/main.yaml b/main.yaml index 7bb6f6fd..622f314e 100644 --- a/main.yaml +++ b/main.yaml @@ -267,7 +267,7 @@ x-tagGroups: - Translations - Uploads - Tags - - Custom Metadata Labels + - Custom Metadata Properties - Blacklisted Keys - Versions / History - name: Workflows diff --git a/paths.yaml b/paths.yaml index 2809746f..de07f457 100644 --- a/paths.yaml +++ b/paths.yaml @@ -47,9 +47,9 @@ "$ref": "./paths/styleguides/update.yaml" delete: "$ref": "./paths/styleguides/destroy.yaml" -"/accounts/{account_id}/custom_metadata/labels": +"/accounts/{account_id}/custom_metadata/properties": get: - "$ref": "./paths/custom_metadata_labels/index.yaml" + "$ref": "./paths/custom_metadata_properties/index.yaml" "/accounts/{account_id}/invitations": get: "$ref": "./paths/invitations/index.yaml" diff --git a/paths/custom_metadata_labels/index.yaml b/paths/custom_metadata_labels/index.yaml index 068f3ff1..25be7c96 100644 --- a/paths/custom_metadata_labels/index.yaml +++ b/paths/custom_metadata_labels/index.yaml @@ -1,10 +1,10 @@ --- -summary: List labels +summary: List properties description: | - List all custom metadata labels for an account. + List all custom metadata properties for an account. This endpoint is only available to accounts with advanced plans or above. -operationId: custom_metadata_labels/list +operationId: custom_metadata_properties/list tags: - Custom Metadata parameters: @@ -18,7 +18,7 @@ parameters: in: query schema: type: string -- description: ids of projects that the labels belong to +- description: ids of projects that the properties belong to example: - abcd1234cdef1234abcd1234cdef1234 name: project_ids @@ -47,7 +47,7 @@ responses: schema: type: array items: - "$ref": "../../schemas/custom_metadata_label.yaml#/custom_metadata_label" + "$ref": "../../schemas/custom_metadata_property.yaml#/custom_metadata_property" headers: X-Rate-Limit-Limit: "$ref": "../../headers.yaml#/X-Rate-Limit-Limit" @@ -70,7 +70,7 @@ x-code-samples: -u USERNAME_OR_ACCESS_TOKEN - lang: CLI v2 source: |- - phrase custom_metadata_labels list \ + phrase custom_metadata_properties list \ --account_id \ --branch my-feature-branch \ --page 1 \ diff --git a/schemas.yaml b/schemas.yaml index 67175bf8..6b235794 100644 --- a/schemas.yaml +++ b/schemas.yaml @@ -20,8 +20,8 @@ schemas: "$ref": schemas/comment.yaml#/comment comment_reaction: "$ref": schemas/comment_reaction.yaml#/comment_reaction - custom_metadata_label: - "$ref": schemas/custom_metadata_label.yaml#/custom_metadata_label + custom_metadata_property: + "$ref": schemas/custom_metadata_property.yaml#/custom_metadata_property key_preview: "$ref": schemas/key_preview.yaml#/key_preview affected_count: diff --git a/schemas/custom_metadata_label.yaml b/schemas/custom_metadata_property.yaml similarity index 94% rename from schemas/custom_metadata_label.yaml rename to schemas/custom_metadata_property.yaml index 406a4dd6..7e4ece4f 100644 --- a/schemas/custom_metadata_label.yaml +++ b/schemas/custom_metadata_property.yaml @@ -1,7 +1,7 @@ --- -custom_metadata_label: +custom_metadata_property: type: object - title: custom_metadata_label + title: custom_metadata_property properties: id: type: string