|
| 1 | +--- |
| 2 | +title: OpenAPI Descriptions |
| 3 | +description: Provides links to the Open Cloud JSON files that are compliant to the OpenAPI Specification, explains their use cases, and outlines additional information. |
| 4 | +--- |
| 5 | + |
| 6 | +The reference pages in the **Resources** section are rendered from JSON files that are [OpenAPI descriptions](https://learn.openapis.org/glossary.html). These files use [version 3.0.4](https://spec.openapis.org/oas/v3.0.4) of the OpenAPI specification. |
| 7 | + |
| 8 | +These files are open source and can be used with tools like the [Swagger Editor](https://editor.swagger.io/) and [Postman](https://www.postman.com/) to test API calls and help streamline development. |
| 9 | + |
| 10 | +These OpenAPI descriptions are still under active development and may contain issues. The pages under the **Resources** section are the official reference. |
| 11 | + |
| 12 | +## OpenAPI Description Files |
| 13 | + |
| 14 | +OpenAPI description files are available at the following locations within the [creator-docs](https://github.com/Roblox/creator-docs/tree/main/content/en-us/reference/cloud) repository: |
| 15 | + |
| 16 | +```text |
| 17 | +# All V2 Resources |
| 18 | +https://github.com/Roblox/creator-docs/blob/main/content/en-us/reference/cloud/cloud.docs.json |
| 19 | +
|
| 20 | +# V1 Assets |
| 21 | +https://github.com/Roblox/creator-docs/blob/main/content/en-us/reference/cloud/assets/v1.json |
| 22 | +
|
| 23 | +# V1 Ordered Data Stores |
| 24 | +https://github.com/Roblox/creator-docs/blob/main/content/en-us/reference/cloud/datastores-api/ordered-v1.json |
| 25 | +
|
| 26 | +# V1 Standard Data Stores |
| 27 | +https://github.com/Roblox/creator-docs/blob/main/content/en-us/reference/cloud/datastores-api/v1.json |
| 28 | +
|
| 29 | +# V1 Messaging |
| 30 | +https://github.com/Roblox/creator-docs/blob/main/content/en-us/reference/cloud/messaging-service/v1.json |
| 31 | +
|
| 32 | +# V1 Universes |
| 33 | +https://github.com/Roblox/creator-docs/blob/main/content/en-us/reference/cloud/universes-api/v1.json |
| 34 | +``` |
| 35 | + |
| 36 | +### Vendor Extensions |
| 37 | + |
| 38 | +Roblox uses [specification extensions](https://spec.openapis.org/oas/v3.0.4#specification-extensions) to extend the OpenAPI specification. These extensions represent information that the specification doesn't capture by default. Extensions may appear throughout the file where allowed by the OpenAPI specification. |
| 39 | + |
| 40 | +The majority of these specification extensions are experimental. The extensions used are subject to change without notice in favor of fields found within the official OpenAPI specification. |
| 41 | + |
| 42 | +<Alert severity="info"> |
| 43 | +The OpenAPI descriptions for V1 and V2 resources utilitize distinct specification extensions due to underlying implementation differences. |
| 44 | +</Alert> |
| 45 | + |
| 46 | +**V1 Resource Specification Extensions** |
| 47 | + |
| 48 | +| Extension | Location | Description | |
| 49 | +|------------------------------------------------- |------------------ |------------------------------------------------------------------------------------------------- | |
| 50 | +| `x-roblox-cloud-api-operation` | Operation Object | Boolean. Whether the operation is an Open Cloud operation. | |
| 51 | +| `x-roblox-cloud-api-operation-name` | Operation Object | String. The name of the operation. | |
| 52 | +| `x-roblox-cloud-api-operation-code-samples` | Operation Object | Object. A list of code samples, an object with the language/title and the corresponding script. | |
| 53 | +| `x-roblox-cloud-api-operation-throttling-limit` | Operation Object | Object. The throttling limits for the operation. | |
| 54 | + |
| 55 | +**V2 Resource Specification Extensions** |
| 56 | + |
| 57 | +| Extension | Location | Description | |
| 58 | +|--------------------------------------- |------------------ |--------------------------------------------------------------------------------------------------------------- | |
| 59 | +| `x-categories` | OpenAPI Object | List of strings. All resource categories. | |
| 60 | +| `x-visibility` | Operation Object | Boolean. The visibility of the operation. | |
| 61 | +| `x-roblox-docs` | Operation Object | Object. Associates an operation with a category and resource. | |
| 62 | +| `x-long-running-operation-parameters` | Operation Object | Object. References the metadata and response for the operation's long running response. | |
| 63 | +| `x-oneOf` | Schema Object | Object. Each field contains a list of properties in the schema. Only one of the properties should be present. | |
| 64 | +| `x-resource` | Schema Object | Boolean. Whether the schema is a resource. | |
| 65 | +| `x-immutable` | Schema Object | Boolean. Whether the schema is immutable. | |
0 commit comments