From f849f668a945f40ec6a78c2b94abe71cb394cc31 Mon Sep 17 00:00:00 2001 From: EdLeafe Date: Thu, 30 Aug 2018 22:46:01 +0000 Subject: [PATCH] Move the api-ref directories This is the result of running the following commands: git rm -rf api-ref/ git mv placement-api-ref api-ref Change-Id: Iffabaa757187879773ee3e7ffaa438ab95670dea --- .../ext/__init__.py | 0 .../ext/validator.py | 0 .../source/aggregates.inc | 0 .../source/allocation_candidates.inc | 0 .../source/allocations.inc | 0 {placement-api-ref => api-ref}/source/conf.py | 0 .../source/index.rst | 0 .../source/inventories.inc | 0 .../source/inventory.inc | 0 api-ref/source/os-aggregates.inc | 352 ------------------ .../source/parameters.yaml | 0 .../source/request-ids.inc | 0 .../source/reshaper.inc | 0 .../source/resource_class.inc | 0 .../source/resource_classes.inc | 0 .../source/resource_provider.inc | 0 .../source/resource_provider_allocations.inc | 0 .../source/resource_provider_traits.inc | 0 .../source/resource_provider_usages.inc | 0 .../source/resource_providers.inc | 0 .../source/root.inc | 0 .../aggregates/get-aggregates-1.19.json | 0 .../samples/aggregates/get-aggregates.json | 0 .../aggregates/update-aggregates-1.19.json | 0 .../update-aggregates-request-1.19.json | 0 .../aggregates/update-aggregates-request.json | 0 .../samples/aggregates/update-aggregates.json | 0 .../get-allocation_candidates-1.12.json | 0 .../get-allocation_candidates-1.17.json | 0 .../get-allocation_candidates-1.29.json | 0 .../get-allocation_candidates.json | 0 .../allocations/get-allocations-1.28.json | 0 .../samples/allocations/get-allocations.json | 0 .../manage-allocations-request-1.28.json | 0 .../manage-allocations-request.json | 0 .../update-allocations-request-1.12.json | 0 .../update-allocations-request-1.28.json | 0 .../update-allocations-request.json | 0 .../samples/inventories/get-inventories.json | 0 .../samples/inventories/get-inventory.json | 0 .../update-inventories-request.json | 0 .../inventories/update-inventories.json | 0 .../inventories/update-inventory-request.json | 0 .../samples/inventories/update-inventory.json | 0 .../samples/reshaper/post-reshaper-1.30.json | 0 .../create-resource_classes-request.json | 0 .../resource_classes/get-resource_class.json | 0 .../get-resource_classes.json | 0 .../update-resource_class-request.json | 0 .../update-resource_class.json | 0 .../get-resource_provider_allocations.json | 0 .../get-resource_provider-traits.json | 0 ...date-resource_provider-traits-request.json | 0 .../update-resource_provider-traits.json | 0 .../get-resource_provider_usages.json | 0 .../create-resource_provider.json | 0 .../create-resource_providers-request.json | 0 .../get-resource_provider.json | 0 .../get-resource_providers.json | 0 .../update-resource_provider-request.json | 0 .../update-resource_provider.json | 0 .../source/samples/root/get-root.json | 0 .../source/samples/traits/get-traits.json | 0 .../source/samples/usages/get-usages.json | 0 .../source/traits.inc | 0 .../source/usages.inc | 0 66 files changed, 352 deletions(-) rename {placement-api-ref => api-ref}/ext/__init__.py (100%) rename {placement-api-ref => api-ref}/ext/validator.py (100%) rename {placement-api-ref => api-ref}/source/aggregates.inc (100%) rename {placement-api-ref => api-ref}/source/allocation_candidates.inc (100%) rename {placement-api-ref => api-ref}/source/allocations.inc (100%) rename {placement-api-ref => api-ref}/source/conf.py (100%) rename {placement-api-ref => api-ref}/source/index.rst (100%) rename {placement-api-ref => api-ref}/source/inventories.inc (100%) rename {placement-api-ref => api-ref}/source/inventory.inc (100%) delete mode 100644 api-ref/source/os-aggregates.inc rename {placement-api-ref => api-ref}/source/parameters.yaml (100%) rename {placement-api-ref => api-ref}/source/request-ids.inc (100%) rename {placement-api-ref => api-ref}/source/reshaper.inc (100%) rename {placement-api-ref => api-ref}/source/resource_class.inc (100%) rename {placement-api-ref => api-ref}/source/resource_classes.inc (100%) rename {placement-api-ref => api-ref}/source/resource_provider.inc (100%) rename {placement-api-ref => api-ref}/source/resource_provider_allocations.inc (100%) rename {placement-api-ref => api-ref}/source/resource_provider_traits.inc (100%) rename {placement-api-ref => api-ref}/source/resource_provider_usages.inc (100%) rename {placement-api-ref => api-ref}/source/resource_providers.inc (100%) rename {placement-api-ref => api-ref}/source/root.inc (100%) rename {placement-api-ref => api-ref}/source/samples/aggregates/get-aggregates-1.19.json (100%) rename {placement-api-ref => api-ref}/source/samples/aggregates/get-aggregates.json (100%) rename {placement-api-ref => api-ref}/source/samples/aggregates/update-aggregates-1.19.json (100%) rename {placement-api-ref => api-ref}/source/samples/aggregates/update-aggregates-request-1.19.json (100%) rename {placement-api-ref => api-ref}/source/samples/aggregates/update-aggregates-request.json (100%) rename {placement-api-ref => api-ref}/source/samples/aggregates/update-aggregates.json (100%) rename {placement-api-ref => api-ref}/source/samples/allocation_candidates/get-allocation_candidates-1.12.json (100%) rename {placement-api-ref => api-ref}/source/samples/allocation_candidates/get-allocation_candidates-1.17.json (100%) rename {placement-api-ref => api-ref}/source/samples/allocation_candidates/get-allocation_candidates-1.29.json (100%) rename {placement-api-ref => api-ref}/source/samples/allocation_candidates/get-allocation_candidates.json (100%) rename {placement-api-ref => api-ref}/source/samples/allocations/get-allocations-1.28.json (100%) rename {placement-api-ref => api-ref}/source/samples/allocations/get-allocations.json (100%) rename {placement-api-ref => api-ref}/source/samples/allocations/manage-allocations-request-1.28.json (100%) rename {placement-api-ref => api-ref}/source/samples/allocations/manage-allocations-request.json (100%) rename {placement-api-ref => api-ref}/source/samples/allocations/update-allocations-request-1.12.json (100%) rename {placement-api-ref => api-ref}/source/samples/allocations/update-allocations-request-1.28.json (100%) rename {placement-api-ref => api-ref}/source/samples/allocations/update-allocations-request.json (100%) rename {placement-api-ref => api-ref}/source/samples/inventories/get-inventories.json (100%) rename {placement-api-ref => api-ref}/source/samples/inventories/get-inventory.json (100%) rename {placement-api-ref => api-ref}/source/samples/inventories/update-inventories-request.json (100%) rename {placement-api-ref => api-ref}/source/samples/inventories/update-inventories.json (100%) rename {placement-api-ref => api-ref}/source/samples/inventories/update-inventory-request.json (100%) rename {placement-api-ref => api-ref}/source/samples/inventories/update-inventory.json (100%) rename {placement-api-ref => api-ref}/source/samples/reshaper/post-reshaper-1.30.json (100%) rename {placement-api-ref => api-ref}/source/samples/resource_classes/create-resource_classes-request.json (100%) rename {placement-api-ref => api-ref}/source/samples/resource_classes/get-resource_class.json (100%) rename {placement-api-ref => api-ref}/source/samples/resource_classes/get-resource_classes.json (100%) rename {placement-api-ref => api-ref}/source/samples/resource_classes/update-resource_class-request.json (100%) rename {placement-api-ref => api-ref}/source/samples/resource_classes/update-resource_class.json (100%) rename {placement-api-ref => api-ref}/source/samples/resource_provider_allocations/get-resource_provider_allocations.json (100%) rename {placement-api-ref => api-ref}/source/samples/resource_provider_traits/get-resource_provider-traits.json (100%) rename {placement-api-ref => api-ref}/source/samples/resource_provider_traits/update-resource_provider-traits-request.json (100%) rename {placement-api-ref => api-ref}/source/samples/resource_provider_traits/update-resource_provider-traits.json (100%) rename {placement-api-ref => api-ref}/source/samples/resource_provider_usages/get-resource_provider_usages.json (100%) rename {placement-api-ref => api-ref}/source/samples/resource_providers/create-resource_provider.json (100%) rename {placement-api-ref => api-ref}/source/samples/resource_providers/create-resource_providers-request.json (100%) rename {placement-api-ref => api-ref}/source/samples/resource_providers/get-resource_provider.json (100%) rename {placement-api-ref => api-ref}/source/samples/resource_providers/get-resource_providers.json (100%) rename {placement-api-ref => api-ref}/source/samples/resource_providers/update-resource_provider-request.json (100%) rename {placement-api-ref => api-ref}/source/samples/resource_providers/update-resource_provider.json (100%) rename {placement-api-ref => api-ref}/source/samples/root/get-root.json (100%) rename {placement-api-ref => api-ref}/source/samples/traits/get-traits.json (100%) rename {placement-api-ref => api-ref}/source/samples/usages/get-usages.json (100%) rename {placement-api-ref => api-ref}/source/traits.inc (100%) rename {placement-api-ref => api-ref}/source/usages.inc (100%) diff --git a/placement-api-ref/ext/__init__.py b/api-ref/ext/__init__.py similarity index 100% rename from placement-api-ref/ext/__init__.py rename to api-ref/ext/__init__.py diff --git a/placement-api-ref/ext/validator.py b/api-ref/ext/validator.py similarity index 100% rename from placement-api-ref/ext/validator.py rename to api-ref/ext/validator.py diff --git a/placement-api-ref/source/aggregates.inc b/api-ref/source/aggregates.inc similarity index 100% rename from placement-api-ref/source/aggregates.inc rename to api-ref/source/aggregates.inc diff --git a/placement-api-ref/source/allocation_candidates.inc b/api-ref/source/allocation_candidates.inc similarity index 100% rename from placement-api-ref/source/allocation_candidates.inc rename to api-ref/source/allocation_candidates.inc diff --git a/placement-api-ref/source/allocations.inc b/api-ref/source/allocations.inc similarity index 100% rename from placement-api-ref/source/allocations.inc rename to api-ref/source/allocations.inc diff --git a/placement-api-ref/source/conf.py b/api-ref/source/conf.py similarity index 100% rename from placement-api-ref/source/conf.py rename to api-ref/source/conf.py diff --git a/placement-api-ref/source/index.rst b/api-ref/source/index.rst similarity index 100% rename from placement-api-ref/source/index.rst rename to api-ref/source/index.rst diff --git a/placement-api-ref/source/inventories.inc b/api-ref/source/inventories.inc similarity index 100% rename from placement-api-ref/source/inventories.inc rename to api-ref/source/inventories.inc diff --git a/placement-api-ref/source/inventory.inc b/api-ref/source/inventory.inc similarity index 100% rename from placement-api-ref/source/inventory.inc rename to api-ref/source/inventory.inc diff --git a/api-ref/source/os-aggregates.inc b/api-ref/source/os-aggregates.inc deleted file mode 100644 index ecfefe59a..000000000 --- a/api-ref/source/os-aggregates.inc +++ /dev/null @@ -1,352 +0,0 @@ -.. -*- rst -*- - -================================ - Host aggregates (os-aggregates) -================================ - -Creates and manages host aggregates. An aggregate assigns metadata to -groups of compute nodes. Aggregates are only visible to the cloud -provider. - -List Aggregates -=============== - -.. rest_method:: GET /os-aggregates - -Lists all aggregates. Includes the ID, name, and availability zone for each aggregate. - -Normal response codes: 200 - -Error response codes: unauthorized(401), forbidden(403) - -Response --------- - -.. rest_parameters:: parameters.yaml - - - aggregates: aggregates - - availability_zone: aggregate_az - - created_at: created - - deleted_at: deleted_at - - deleted: deleted - - hosts: aggregate_host_list - - id: aggregate_id_body - - metadata: aggregate_metadata - - name: aggregate_name - - updated_at: updated_consider_null - - uuid: aggregate_uuid - -**Example List Aggregates (v2.41): JSON response** - -.. literalinclude:: ../../doc/api_samples/os-aggregates/v2.41/aggregates-list-get-resp.json - :language: javascript - -Create Aggregate -================ - -.. rest_method:: POST /os-aggregates - -Creates an aggregate. If specifying an option availability_zone, the aggregate is -created as an availability zone and the availability zone is visible to normal users. - -Normal response codes: 200 - -Error response codes: badRequest(400), unauthorized(401), forbidden(403), conflict(409) - -Request -------- - -.. rest_parameters:: parameters.yaml - - - aggregate: aggregate - - name: aggregate_name - - availability_zone: aggregate_az_optional - -**Example Create Aggregate: JSON request** - -.. literalinclude:: ../../doc/api_samples/os-aggregates/aggregate-post-req.json - :language: javascript - -Response --------- - -.. rest_parameters:: parameters.yaml - - - aggregate: aggregate - - availability_zone: aggregate_az - - created_at: created - - deleted_at: deleted_at - - deleted: deleted - - id: aggregate_id_body - - name: aggregate_name - - updated_at: updated_consider_null - - uuid: aggregate_uuid - -**Example Create Aggregate (v2.41): JSON response** - -.. literalinclude:: ../../doc/api_samples/os-aggregates/v2.41/aggregate-post-resp.json - :language: javascript - -Show Aggregate Details -====================== - -.. rest_method:: GET /os-aggregates/{aggregate_id} - -Shows details for an aggregate. Details include hosts and metadata. - -Normal response codes: 200 - -Error response codes: unauthorized(401), forbidden(403), itemNotFound(404) - -Request -------- - -.. rest_parameters:: parameters.yaml - - - aggregate_id: aggregate_id - -Response --------- - -.. rest_parameters:: parameters.yaml - - - aggregate: aggregate - - availability_zone: aggregate_az - - created_at: created - - deleted_at: deleted_at - - deleted: deleted - - hosts: hosts - - id: aggregate_id_body - - metadata: aggregate_metadata - - name: aggregate_name - - updated_at: updated_consider_null - - uuid: aggregate_uuid - -**Example Show Aggregate Details (v2.41): JSON response** - -.. literalinclude:: ../../doc/api_samples/os-aggregates/v2.41/aggregates-get-resp.json - :language: javascript - -Update Aggregate -================ - -.. rest_method:: PUT /os-aggregates/{aggregate_id} - -Updates either or both the name and availability zone for an aggregate. -If the aggregate to be updated has host that already in the given -availability zone, the request will fail with 400 error. - -Normal response codes: 200 - -Error response codes: badRequest(400), unauthorized(401), forbidden(403), -itemNotFound(404), conflict(409) - -Request -------- - -.. rest_parameters:: parameters.yaml - - - aggregate_id: aggregate_id - - aggregate: aggregate - - name: aggregate_name_optional - - availability_zone: aggregate_az_optional - -**Example Update Aggregate: JSON request** - -.. literalinclude:: ../../doc/api_samples/os-aggregates/aggregate-update-post-req.json - :language: javascript - -Response --------- - -.. rest_parameters:: parameters.yaml - - - aggregate: aggregate - - availability_zone: aggregate_az - - created_at: created - - deleted_at: deleted_at - - deleted: deleted - - hosts: hosts - - id: aggregate_id_body - - metadata: aggregate_metadata - - name: aggregate_name - - updated_at: updated_consider_null - - uuid: aggregate_uuid - -**Example Update Aggregate (v2.41): JSON response** - -.. literalinclude:: ../../doc/api_samples/os-aggregates/v2.41/aggregate-update-post-resp.json - :language: javascript - -Delete Aggregate -================ - -.. rest_method:: DELETE /os-aggregates/{aggregate_id} - -Deletes an aggregate. - -Normal response codes: 200 - -Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNotFound(404) - -Request -------- - -.. rest_parameters:: parameters.yaml - - - aggregate_id: aggregate_id - -Response --------- - -There is no body content for the response of a successful DELETE action. - -Add Host -======== - -.. rest_method:: POST /os-aggregates/{aggregate_id}/action - -Adds a host to an aggregate. - -Specify the ``add_host`` action and host name in the request body. - -Normal response codes: 200 - -Error response codes: badRequest(400), unauthorized(401), forbidden(403), -itemNotFound(404), conflict(409) - -Request -------- - -.. rest_parameters:: parameters.yaml - - - aggregate_id: aggregate_id - - add_host: aggregate_add_host - - host: host_name_body - -**Example Add Host: JSON request** - -.. literalinclude:: ../../doc/api_samples/os-aggregates/aggregate-add-host-post-req.json - :language: javascript - -Response --------- - -.. rest_parameters:: parameters.yaml - - - aggregate: aggregate - - availability_zone: aggregate_az - - created_at: created - - deleted_at: deleted_at - - deleted: deleted - - hosts: hosts - - id: aggregate_id_body - - metadata: aggregate_metadata - - name: aggregate_name - - updated_at: updated_consider_null - - uuid: aggregate_uuid - -**Example Add Host (v2.41): JSON response** - -.. literalinclude:: ../../doc/api_samples/os-aggregates/v2.41/aggregates-add-host-post-resp.json - :language: javascript - -Remove Host -=========== - -.. rest_method:: POST /os-aggregates/{aggregate_id}/action - -Removes a host from an aggregate. - -Specify the ``remove_host`` action and host name in the request body. - -Normal response codes: 200 - -Error response codes: badRequest(400), unauthorized(401), forbidden(403), -itemNotFound(404), conflict(409) - -Request -------- - -.. rest_parameters:: parameters.yaml - - - aggregate_id: aggregate_id - - remove_host: aggregate_remove_host - - host: host_name_body - -**Example Remove Host: JSON request** - -.. literalinclude:: ../../doc/api_samples/os-aggregates/aggregate-remove-host-post-req.json - :language: javascript - -Response --------- - -.. rest_parameters:: parameters.yaml - - - aggregate: aggregate - - availability_zone: aggregate_az - - created_at: created - - deleted_at: deleted_at - - deleted: deleted - - hosts: hosts - - id: aggregate_id_body - - metadata: aggregate_metadata - - name: aggregate_name - - updated_at: updated_consider_null - - uuid: aggregate_uuid - -**Example Remove Host (v2.41): JSON response** - -.. literalinclude:: ../../doc/api_samples/os-aggregates/v2.41/aggregates-remove-host-post-resp.json - :language: javascript - -Create Or Update Aggregate Metadata -=================================== - -.. rest_method:: POST /os-aggregates/{aggregate_id}/action - -Creates or replaces metadata for an aggregate. - -Specify the ``set_metadata`` action and metadata info in the request body. - -Normal response codes: 200 - -Error response codes: badRequest(400), unauthorized(401), forbidden(403), -itemNotFound(404) - -Request -------- - -.. rest_parameters:: parameters.yaml - - - aggregate_id: aggregate_id - - set_metadata: set_metadata - - metadata: metadata_object - -**Example Create Or Update Aggregate Metadata: JSON request** - -.. literalinclude:: ../../doc/api_samples/os-aggregates/aggregate-metadata-post-req.json - :language: javascript - -Response --------- - -.. rest_parameters:: parameters.yaml - - - aggregate: aggregate - - availability_zone: aggregate_az - - created_at: created - - deleted_at: deleted_at - - deleted: deleted - - hosts: hosts - - id: aggregate_id_body - - metadata: aggregate_metadata - - name: aggregate_name - - updated_at: updated_consider_null - - uuid: aggregate_uuid - -**Example Create Or Update Aggregate Metadata (v2.41): JSON response** - -.. literalinclude:: ../../doc/api_samples/os-aggregates/v2.41/aggregates-metadata-post-resp.json - :language: javascript diff --git a/placement-api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml similarity index 100% rename from placement-api-ref/source/parameters.yaml rename to api-ref/source/parameters.yaml diff --git a/placement-api-ref/source/request-ids.inc b/api-ref/source/request-ids.inc similarity index 100% rename from placement-api-ref/source/request-ids.inc rename to api-ref/source/request-ids.inc diff --git a/placement-api-ref/source/reshaper.inc b/api-ref/source/reshaper.inc similarity index 100% rename from placement-api-ref/source/reshaper.inc rename to api-ref/source/reshaper.inc diff --git a/placement-api-ref/source/resource_class.inc b/api-ref/source/resource_class.inc similarity index 100% rename from placement-api-ref/source/resource_class.inc rename to api-ref/source/resource_class.inc diff --git a/placement-api-ref/source/resource_classes.inc b/api-ref/source/resource_classes.inc similarity index 100% rename from placement-api-ref/source/resource_classes.inc rename to api-ref/source/resource_classes.inc diff --git a/placement-api-ref/source/resource_provider.inc b/api-ref/source/resource_provider.inc similarity index 100% rename from placement-api-ref/source/resource_provider.inc rename to api-ref/source/resource_provider.inc diff --git a/placement-api-ref/source/resource_provider_allocations.inc b/api-ref/source/resource_provider_allocations.inc similarity index 100% rename from placement-api-ref/source/resource_provider_allocations.inc rename to api-ref/source/resource_provider_allocations.inc diff --git a/placement-api-ref/source/resource_provider_traits.inc b/api-ref/source/resource_provider_traits.inc similarity index 100% rename from placement-api-ref/source/resource_provider_traits.inc rename to api-ref/source/resource_provider_traits.inc diff --git a/placement-api-ref/source/resource_provider_usages.inc b/api-ref/source/resource_provider_usages.inc similarity index 100% rename from placement-api-ref/source/resource_provider_usages.inc rename to api-ref/source/resource_provider_usages.inc diff --git a/placement-api-ref/source/resource_providers.inc b/api-ref/source/resource_providers.inc similarity index 100% rename from placement-api-ref/source/resource_providers.inc rename to api-ref/source/resource_providers.inc diff --git a/placement-api-ref/source/root.inc b/api-ref/source/root.inc similarity index 100% rename from placement-api-ref/source/root.inc rename to api-ref/source/root.inc diff --git a/placement-api-ref/source/samples/aggregates/get-aggregates-1.19.json b/api-ref/source/samples/aggregates/get-aggregates-1.19.json similarity index 100% rename from placement-api-ref/source/samples/aggregates/get-aggregates-1.19.json rename to api-ref/source/samples/aggregates/get-aggregates-1.19.json diff --git a/placement-api-ref/source/samples/aggregates/get-aggregates.json b/api-ref/source/samples/aggregates/get-aggregates.json similarity index 100% rename from placement-api-ref/source/samples/aggregates/get-aggregates.json rename to api-ref/source/samples/aggregates/get-aggregates.json diff --git a/placement-api-ref/source/samples/aggregates/update-aggregates-1.19.json b/api-ref/source/samples/aggregates/update-aggregates-1.19.json similarity index 100% rename from placement-api-ref/source/samples/aggregates/update-aggregates-1.19.json rename to api-ref/source/samples/aggregates/update-aggregates-1.19.json diff --git a/placement-api-ref/source/samples/aggregates/update-aggregates-request-1.19.json b/api-ref/source/samples/aggregates/update-aggregates-request-1.19.json similarity index 100% rename from placement-api-ref/source/samples/aggregates/update-aggregates-request-1.19.json rename to api-ref/source/samples/aggregates/update-aggregates-request-1.19.json diff --git a/placement-api-ref/source/samples/aggregates/update-aggregates-request.json b/api-ref/source/samples/aggregates/update-aggregates-request.json similarity index 100% rename from placement-api-ref/source/samples/aggregates/update-aggregates-request.json rename to api-ref/source/samples/aggregates/update-aggregates-request.json diff --git a/placement-api-ref/source/samples/aggregates/update-aggregates.json b/api-ref/source/samples/aggregates/update-aggregates.json similarity index 100% rename from placement-api-ref/source/samples/aggregates/update-aggregates.json rename to api-ref/source/samples/aggregates/update-aggregates.json diff --git a/placement-api-ref/source/samples/allocation_candidates/get-allocation_candidates-1.12.json b/api-ref/source/samples/allocation_candidates/get-allocation_candidates-1.12.json similarity index 100% rename from placement-api-ref/source/samples/allocation_candidates/get-allocation_candidates-1.12.json rename to api-ref/source/samples/allocation_candidates/get-allocation_candidates-1.12.json diff --git a/placement-api-ref/source/samples/allocation_candidates/get-allocation_candidates-1.17.json b/api-ref/source/samples/allocation_candidates/get-allocation_candidates-1.17.json similarity index 100% rename from placement-api-ref/source/samples/allocation_candidates/get-allocation_candidates-1.17.json rename to api-ref/source/samples/allocation_candidates/get-allocation_candidates-1.17.json diff --git a/placement-api-ref/source/samples/allocation_candidates/get-allocation_candidates-1.29.json b/api-ref/source/samples/allocation_candidates/get-allocation_candidates-1.29.json similarity index 100% rename from placement-api-ref/source/samples/allocation_candidates/get-allocation_candidates-1.29.json rename to api-ref/source/samples/allocation_candidates/get-allocation_candidates-1.29.json diff --git a/placement-api-ref/source/samples/allocation_candidates/get-allocation_candidates.json b/api-ref/source/samples/allocation_candidates/get-allocation_candidates.json similarity index 100% rename from placement-api-ref/source/samples/allocation_candidates/get-allocation_candidates.json rename to api-ref/source/samples/allocation_candidates/get-allocation_candidates.json diff --git a/placement-api-ref/source/samples/allocations/get-allocations-1.28.json b/api-ref/source/samples/allocations/get-allocations-1.28.json similarity index 100% rename from placement-api-ref/source/samples/allocations/get-allocations-1.28.json rename to api-ref/source/samples/allocations/get-allocations-1.28.json diff --git a/placement-api-ref/source/samples/allocations/get-allocations.json b/api-ref/source/samples/allocations/get-allocations.json similarity index 100% rename from placement-api-ref/source/samples/allocations/get-allocations.json rename to api-ref/source/samples/allocations/get-allocations.json diff --git a/placement-api-ref/source/samples/allocations/manage-allocations-request-1.28.json b/api-ref/source/samples/allocations/manage-allocations-request-1.28.json similarity index 100% rename from placement-api-ref/source/samples/allocations/manage-allocations-request-1.28.json rename to api-ref/source/samples/allocations/manage-allocations-request-1.28.json diff --git a/placement-api-ref/source/samples/allocations/manage-allocations-request.json b/api-ref/source/samples/allocations/manage-allocations-request.json similarity index 100% rename from placement-api-ref/source/samples/allocations/manage-allocations-request.json rename to api-ref/source/samples/allocations/manage-allocations-request.json diff --git a/placement-api-ref/source/samples/allocations/update-allocations-request-1.12.json b/api-ref/source/samples/allocations/update-allocations-request-1.12.json similarity index 100% rename from placement-api-ref/source/samples/allocations/update-allocations-request-1.12.json rename to api-ref/source/samples/allocations/update-allocations-request-1.12.json diff --git a/placement-api-ref/source/samples/allocations/update-allocations-request-1.28.json b/api-ref/source/samples/allocations/update-allocations-request-1.28.json similarity index 100% rename from placement-api-ref/source/samples/allocations/update-allocations-request-1.28.json rename to api-ref/source/samples/allocations/update-allocations-request-1.28.json diff --git a/placement-api-ref/source/samples/allocations/update-allocations-request.json b/api-ref/source/samples/allocations/update-allocations-request.json similarity index 100% rename from placement-api-ref/source/samples/allocations/update-allocations-request.json rename to api-ref/source/samples/allocations/update-allocations-request.json diff --git a/placement-api-ref/source/samples/inventories/get-inventories.json b/api-ref/source/samples/inventories/get-inventories.json similarity index 100% rename from placement-api-ref/source/samples/inventories/get-inventories.json rename to api-ref/source/samples/inventories/get-inventories.json diff --git a/placement-api-ref/source/samples/inventories/get-inventory.json b/api-ref/source/samples/inventories/get-inventory.json similarity index 100% rename from placement-api-ref/source/samples/inventories/get-inventory.json rename to api-ref/source/samples/inventories/get-inventory.json diff --git a/placement-api-ref/source/samples/inventories/update-inventories-request.json b/api-ref/source/samples/inventories/update-inventories-request.json similarity index 100% rename from placement-api-ref/source/samples/inventories/update-inventories-request.json rename to api-ref/source/samples/inventories/update-inventories-request.json diff --git a/placement-api-ref/source/samples/inventories/update-inventories.json b/api-ref/source/samples/inventories/update-inventories.json similarity index 100% rename from placement-api-ref/source/samples/inventories/update-inventories.json rename to api-ref/source/samples/inventories/update-inventories.json diff --git a/placement-api-ref/source/samples/inventories/update-inventory-request.json b/api-ref/source/samples/inventories/update-inventory-request.json similarity index 100% rename from placement-api-ref/source/samples/inventories/update-inventory-request.json rename to api-ref/source/samples/inventories/update-inventory-request.json diff --git a/placement-api-ref/source/samples/inventories/update-inventory.json b/api-ref/source/samples/inventories/update-inventory.json similarity index 100% rename from placement-api-ref/source/samples/inventories/update-inventory.json rename to api-ref/source/samples/inventories/update-inventory.json diff --git a/placement-api-ref/source/samples/reshaper/post-reshaper-1.30.json b/api-ref/source/samples/reshaper/post-reshaper-1.30.json similarity index 100% rename from placement-api-ref/source/samples/reshaper/post-reshaper-1.30.json rename to api-ref/source/samples/reshaper/post-reshaper-1.30.json diff --git a/placement-api-ref/source/samples/resource_classes/create-resource_classes-request.json b/api-ref/source/samples/resource_classes/create-resource_classes-request.json similarity index 100% rename from placement-api-ref/source/samples/resource_classes/create-resource_classes-request.json rename to api-ref/source/samples/resource_classes/create-resource_classes-request.json diff --git a/placement-api-ref/source/samples/resource_classes/get-resource_class.json b/api-ref/source/samples/resource_classes/get-resource_class.json similarity index 100% rename from placement-api-ref/source/samples/resource_classes/get-resource_class.json rename to api-ref/source/samples/resource_classes/get-resource_class.json diff --git a/placement-api-ref/source/samples/resource_classes/get-resource_classes.json b/api-ref/source/samples/resource_classes/get-resource_classes.json similarity index 100% rename from placement-api-ref/source/samples/resource_classes/get-resource_classes.json rename to api-ref/source/samples/resource_classes/get-resource_classes.json diff --git a/placement-api-ref/source/samples/resource_classes/update-resource_class-request.json b/api-ref/source/samples/resource_classes/update-resource_class-request.json similarity index 100% rename from placement-api-ref/source/samples/resource_classes/update-resource_class-request.json rename to api-ref/source/samples/resource_classes/update-resource_class-request.json diff --git a/placement-api-ref/source/samples/resource_classes/update-resource_class.json b/api-ref/source/samples/resource_classes/update-resource_class.json similarity index 100% rename from placement-api-ref/source/samples/resource_classes/update-resource_class.json rename to api-ref/source/samples/resource_classes/update-resource_class.json diff --git a/placement-api-ref/source/samples/resource_provider_allocations/get-resource_provider_allocations.json b/api-ref/source/samples/resource_provider_allocations/get-resource_provider_allocations.json similarity index 100% rename from placement-api-ref/source/samples/resource_provider_allocations/get-resource_provider_allocations.json rename to api-ref/source/samples/resource_provider_allocations/get-resource_provider_allocations.json diff --git a/placement-api-ref/source/samples/resource_provider_traits/get-resource_provider-traits.json b/api-ref/source/samples/resource_provider_traits/get-resource_provider-traits.json similarity index 100% rename from placement-api-ref/source/samples/resource_provider_traits/get-resource_provider-traits.json rename to api-ref/source/samples/resource_provider_traits/get-resource_provider-traits.json diff --git a/placement-api-ref/source/samples/resource_provider_traits/update-resource_provider-traits-request.json b/api-ref/source/samples/resource_provider_traits/update-resource_provider-traits-request.json similarity index 100% rename from placement-api-ref/source/samples/resource_provider_traits/update-resource_provider-traits-request.json rename to api-ref/source/samples/resource_provider_traits/update-resource_provider-traits-request.json diff --git a/placement-api-ref/source/samples/resource_provider_traits/update-resource_provider-traits.json b/api-ref/source/samples/resource_provider_traits/update-resource_provider-traits.json similarity index 100% rename from placement-api-ref/source/samples/resource_provider_traits/update-resource_provider-traits.json rename to api-ref/source/samples/resource_provider_traits/update-resource_provider-traits.json diff --git a/placement-api-ref/source/samples/resource_provider_usages/get-resource_provider_usages.json b/api-ref/source/samples/resource_provider_usages/get-resource_provider_usages.json similarity index 100% rename from placement-api-ref/source/samples/resource_provider_usages/get-resource_provider_usages.json rename to api-ref/source/samples/resource_provider_usages/get-resource_provider_usages.json diff --git a/placement-api-ref/source/samples/resource_providers/create-resource_provider.json b/api-ref/source/samples/resource_providers/create-resource_provider.json similarity index 100% rename from placement-api-ref/source/samples/resource_providers/create-resource_provider.json rename to api-ref/source/samples/resource_providers/create-resource_provider.json diff --git a/placement-api-ref/source/samples/resource_providers/create-resource_providers-request.json b/api-ref/source/samples/resource_providers/create-resource_providers-request.json similarity index 100% rename from placement-api-ref/source/samples/resource_providers/create-resource_providers-request.json rename to api-ref/source/samples/resource_providers/create-resource_providers-request.json diff --git a/placement-api-ref/source/samples/resource_providers/get-resource_provider.json b/api-ref/source/samples/resource_providers/get-resource_provider.json similarity index 100% rename from placement-api-ref/source/samples/resource_providers/get-resource_provider.json rename to api-ref/source/samples/resource_providers/get-resource_provider.json diff --git a/placement-api-ref/source/samples/resource_providers/get-resource_providers.json b/api-ref/source/samples/resource_providers/get-resource_providers.json similarity index 100% rename from placement-api-ref/source/samples/resource_providers/get-resource_providers.json rename to api-ref/source/samples/resource_providers/get-resource_providers.json diff --git a/placement-api-ref/source/samples/resource_providers/update-resource_provider-request.json b/api-ref/source/samples/resource_providers/update-resource_provider-request.json similarity index 100% rename from placement-api-ref/source/samples/resource_providers/update-resource_provider-request.json rename to api-ref/source/samples/resource_providers/update-resource_provider-request.json diff --git a/placement-api-ref/source/samples/resource_providers/update-resource_provider.json b/api-ref/source/samples/resource_providers/update-resource_provider.json similarity index 100% rename from placement-api-ref/source/samples/resource_providers/update-resource_provider.json rename to api-ref/source/samples/resource_providers/update-resource_provider.json diff --git a/placement-api-ref/source/samples/root/get-root.json b/api-ref/source/samples/root/get-root.json similarity index 100% rename from placement-api-ref/source/samples/root/get-root.json rename to api-ref/source/samples/root/get-root.json diff --git a/placement-api-ref/source/samples/traits/get-traits.json b/api-ref/source/samples/traits/get-traits.json similarity index 100% rename from placement-api-ref/source/samples/traits/get-traits.json rename to api-ref/source/samples/traits/get-traits.json diff --git a/placement-api-ref/source/samples/usages/get-usages.json b/api-ref/source/samples/usages/get-usages.json similarity index 100% rename from placement-api-ref/source/samples/usages/get-usages.json rename to api-ref/source/samples/usages/get-usages.json diff --git a/placement-api-ref/source/traits.inc b/api-ref/source/traits.inc similarity index 100% rename from placement-api-ref/source/traits.inc rename to api-ref/source/traits.inc diff --git a/placement-api-ref/source/usages.inc b/api-ref/source/usages.inc similarity index 100% rename from placement-api-ref/source/usages.inc rename to api-ref/source/usages.inc