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

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
title: ExternalVolumeServersReconfigureAction
description: A task to reconfigure mountable destination servers for external volume.
type: object
required:
- action
properties:
action:
type: string
enum:
- servers.reconfigure
description: The name of the action to perform (servers.reconfigure).
contents:
description: Contents contains an array of server ids to set as mountable destinations for the external volume.
type: array
items:
$ref: ../../../ID.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
title: ExternalVolumeTask
discriminator:
propertyName: action
mapping:
servers.reconfigure: ExternalVolumeServersReconfigureAction.yml
oneOf:
- $ref: ExternalVolumeServersReconfigureAction.yml

This file was deleted.

2 changes: 1 addition & 1 deletion platform/paths/infrastructure/external-volumes/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ post:
content:
application/json:
schema:
$ref: ../../../../components/schemas/infrastructure/external-volumes/tasks/ExternalVolumeTasks.yml
$ref: ../../../../components/schemas/infrastructure/external-volumes/tasks/ExternalVolumeTask.yml
responses:
202:
description: Returns a job descriptor.
Expand Down