Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions specification/resources/addons/addons_delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ responses:
'401':
$ref: '../../shared/responses/unauthorized.yml'

'404':
$ref: '../../shared/responses/not_found.yml'

'429':
$ref: '../../shared/responses/too_many_requests.yml'

Expand Down
6 changes: 5 additions & 1 deletion specification/resources/addons/addons_get.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
operation: addons_get
operationId: addons_get

summary: Get details on an Add-On Resource

Expand All @@ -13,6 +13,7 @@ parameters:
- name: resource_uuid
in: path
required: true
example: "123e4567-e89b-12d3-a456-426614174000"
schema:
type: string
description: The UUID of the add-on resource to retrieve.
Expand All @@ -24,6 +25,9 @@ responses:
'401':
$ref: '../../shared/responses/unauthorized.yml'

'404':
$ref: '../../shared/responses/not_found.yml'

'429':
$ref: '../../shared/responses/too_many_requests.yml'

Expand Down
4 changes: 4 additions & 0 deletions specification/resources/addons/addons_get_app_metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ parameters:
- name: app_slug
in: path
required: true
example: example_app
schema:
type: string
description: The slug identifier for the application whose metadata is being requested.
Expand All @@ -24,6 +25,9 @@ responses:
'401':
$ref: '../../shared/responses/unauthorized.yml'

'404':
$ref: '../../shared/responses/not_found.yml'

'429':
$ref: '../../shared/responses/too_many_requests.yml'

Expand Down
2 changes: 1 addition & 1 deletion specification/resources/addons/addons_list.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
operation: addons_list
operationId: addons_list

summary: List all Add-On Resources

Expand Down
6 changes: 5 additions & 1 deletion specification/resources/addons/addons_update.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
operation: addons_update
operationId: addons_patch

summary: Update the name for an Add-On Resource

Expand All @@ -13,6 +13,7 @@ parameters:
- name: resource_uuid
in: path
required: true
example: "123e4567-e89b-12d3-a456-426614174000"
schema:
type: string
description: The UUID of the add-on resource to rename.
Expand Down Expand Up @@ -40,6 +41,9 @@ responses:
'401':
$ref: '../../shared/responses/unauthorized.yml'

'404':
$ref: '../../shared/responses/not_found.yml'

'429':
$ref: '../../shared/responses/too_many_requests.yml'

Expand Down
6 changes: 5 additions & 1 deletion specification/resources/addons/addons_update_plan.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
operation: addons_update_plan
operationId: addons_patch_plan

summary: Update the plan for an Add-On Resource

Expand All @@ -13,6 +13,7 @@ parameters:
- name: resource_uuid
in: path
required: true
example: "123e4567-e89b-12d3-a456-426614174000"
schema:
type: string
description: The UUID of the add-on resource to update.
Expand Down Expand Up @@ -40,6 +41,9 @@ responses:
'401':
$ref: '../../shared/responses/unauthorized.yml'

'404':
$ref: '../../shared/responses/not_found.yml'

'429':
$ref: '../../shared/responses/too_many_requests.yml'

Expand Down
4 changes: 4 additions & 0 deletions specification/resources/addons/models/addons_app_metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ properties:
options:
title: options
type: array
example:
- "US"
- "UK"
- "CA"
items:
type: string
example: "UK"
Expand Down
1 change: 1 addition & 0 deletions specification/resources/addons/models/addons_feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ properties:
description: Unit of measurement for the feature, if applicable. Units apply to allowance features.

value:
example: "Unlimited"
oneOf:
- title: string_value
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ properties:
description: The name of the metadata item to be set.

value:
example: "example_value"
oneOf:
- title: string_value
type: string
Expand Down
Loading