|
2 | 2 | "openapi": "3.0.1", |
3 | 3 | "info": { |
4 | 4 | "title": "Assets API", |
5 | | - "description": "You can send and receive the following request and response payloads to create assets on Roblox. For information on the usage of the API, see the [Usage Guide](../../../cloud/open-cloud/usage-assets.md).", |
| 5 | + "description": "You can send and receive the following request and response payloads to create assets on Roblox. For information on the usage of the API, see the [usage guide](../../../cloud/open-cloud/usage-assets.md).", |
6 | 6 | "version": "0.0.1" |
7 | 7 | }, |
8 | 8 | "servers": [ |
|
17 | 17 | "x-roblox-cloud-api-operation": true, |
18 | 18 | "x-roblox-cloud-api-operation-name": "Create Asset", |
19 | 19 | "summary": "Creates an asset with provided content and metadata.", |
20 | | - "description": "Creates an asset with provided content and metadata.\n\nYou can't add [SocialLink](#SocialLink) objects when you create an asset. Instead, use [Update Asset](#PATCH-v1-assets-_assetId_).\n\nProvide the asset attributes, binary asset file path, and content type in the form data. See [Content Types](../../../cloud/open-cloud/usage-assets.md#supported-asset-types-and-limits).", |
| 20 | + "description": "Creates an asset with provided content and metadata.\n\nYou can't add [SocialLink](#SocialLink) objects when you create an asset. Instead, use [Update Asset](#PATCH-v1-assets-_assetId_).\n\nProvide the [Asset](#Asset), binary asset file path, and [content type](../../../cloud/open-cloud/usage-assets.md#supported-asset-types-and-limits) in the form data.", |
21 | 21 | "operationId": "Assets_CreateAsset", |
22 | 22 | "requestBody": { |
23 | 23 | "content": { |
|
32 | 32 | "fileContent": { |
33 | 33 | "type": "string", |
34 | 34 | "format": "binary", |
35 | | - "description": "The binary asset file path and the content type. See [Content Types](../../../cloud/open-cloud/usage-assets.md#supported-asset-types-and-limits)." |
| 35 | + "description": "The binary asset file path and the content type. See [Asset types and limits](../../../cloud/open-cloud/usage-assets.md#supported-asset-types-and-limits)." |
36 | 36 | } |
37 | 37 | }, |
38 | 38 | "required": [ |
|
177 | 177 | "x-roblox-cloud-api-operation": true, |
178 | 178 | "x-roblox-cloud-api-operation-name": "Update Asset", |
179 | 179 | "summary": "Updates an asset with provided content and metadata.", |
180 | | - "description": "Updates an asset with provided content and metadata, including the description, display name, icon, social links, and previews. Currently can only update the content body for **Models**. Icons and Previews must be **Image** assets. Icons must have square dimensions.\n\nProvide the asset attributes, binary asset file path, and content type in the form data. See [Content Types](../../../cloud/open-cloud/usage-assets.md#supported-asset-types-and-limits).", |
| 180 | + "description": "Updates an asset with provided content and metadata, including the description, display name, icon, social links, and previews. Currently can only update the content body for **Models**. Icons and Previews must be **Image** assets. Icons must have square dimensions.\n\nProvide the [Asset](#Asset), binary asset file path, and [content type](../../../cloud/open-cloud/usage-assets.md#supported-asset-types-and-limits) in the form data.", |
181 | 181 | "operationId": "Assets_UpdateAsset", |
182 | 182 | "parameters": [ |
183 | 183 | { |
|
212 | 212 | "fileContent": { |
213 | 213 | "type": "string", |
214 | 214 | "format": "binary", |
215 | | - "description": "The binary asset file path and the content type. See [Content Types](../../../cloud/open-cloud/usage-assets.md#supported-asset-types-and-limits)." |
| 215 | + "description": "The binary asset file path and the content type. See [Asset types and limits](../../../cloud/open-cloud/usage-assets.md#supported-asset-types-and-limits)." |
216 | 216 | } |
217 | 217 | }, |
218 | 218 | "required": [ |
|
901 | 901 | "authorizationCode": { |
902 | 902 | "authorizationUrl": "https://apis.roblox.com/oauth/v1/authorize", |
903 | 903 | "tokenUrl": "https://apis.roblox.com/oauth/v1/token", |
904 | | - "refreshUrl": "https://apis.roblox.com/oauth/v1/token", |
| 904 | + "refreshUrl": "https://apis.roblox.com/oauth/v1/token", |
905 | 905 | "scopes": { |
906 | 906 | "asset:read": "This allows viewing information about your assets.", |
907 | 907 | "asset:write": "This allows uploading and updating assets to Roblox." |
|
0 commit comments