2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-14 01:04:05 +00:00
restic/vendor/google.golang.org/api/poly/v1/poly-api.json

782 lines
33 KiB
JSON
Raw Normal View History

{
"basePath": "",
"baseUrl": "https://poly.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Poly Service",
"description": "The Poly API provides read-only access to assets hosted on \u003ca href=\"https://poly.google.com\"\u003epoly.google.com\u003c/a\u003e.\n",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/poly/",
"fullyEncodeReservedExpansion": true,
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "poly:v1",
"kind": "discovery#restDescription",
"name": "poly",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
"$.xgafv": {
"description": "V1 error format.",
"enum": [
"1",
"2"
],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"type": "string"
},
"access_token": {
"description": "OAuth access token.",
"location": "query",
"type": "string"
},
"alt": {
"default": "json",
"description": "Data format for response.",
"enum": [
"json",
"media",
"proto"
],
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query",
"type": "string"
},
"bearer_token": {
"description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
"callback": {
"description": "JSONP",
"location": "query",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
"key": {
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query",
"type": "string"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
"pp": {
"default": "true",
"description": "Pretty-print response.",
"location": "query",
"type": "boolean"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
"location": "query",
"type": "boolean"
},
"quotaUser": {
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
"location": "query",
"type": "string"
},
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
"assets": {
"methods": {
"get": {
"description": "Returns detailed information about an asset given its name.\nPRIVATE assets are returned only if\n the currently authenticated user (via OAuth token) is the author of the asset.",
"flatPath": "v1/assets/{assetsId}",
"httpMethod": "GET",
"id": "poly.assets.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. An asset's name in the form `assets/{ASSET_ID}`.",
"location": "path",
"pattern": "^assets/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "Asset"
}
},
"list": {
"description": "Lists all public, remixable assets. These are assets with an access level of\nPUBLIC and published under the\nCC-By license.",
"flatPath": "v1/assets",
"httpMethod": "GET",
"id": "poly.assets.list",
"parameterOrder": [],
"parameters": {
"category": {
"description": "Filter assets based on the specified category. Supported values are:\n`animals`, `architecture`, `art`, `food`, `nature`, `objects`, `people`, `scenes`,\n`technology`, and `transport`.",
"location": "query",
"type": "string"
},
"curated": {
"description": "Return only assets that have been curated by the Poly team.",
"location": "query",
"type": "boolean"
},
"format": {
"description": "Return only assets with the matching format. Acceptable values are:\n`BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.",
"location": "query",
"type": "string"
},
"keywords": {
"description": "One or more search terms to be matched against all text that Poly has\nindexed for assets, which includes display_name,\ndescription, and tags. Multiple keywords should be\nseparated by spaces.",
"location": "query",
"type": "string"
},
"maxComplexity": {
"description": "Returns assets that are of the specified complexity or less. Defaults to\nCOMPLEX. For example, a request for\nMEDIUM assets also includes\nSIMPLE assets.",
"enum": [
"COMPLEXITY_UNSPECIFIED",
"COMPLEX",
"MEDIUM",
"SIMPLE"
],
"location": "query",
"type": "string"
},
"orderBy": {
"description": "Specifies an ordering for assets. Acceptable values are:\n`BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, which ranks assets\nbased on a combination of popularity and other features.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The maximum number of assets to be returned. This value must be between `1`\nand `100`. Defaults to `20`.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Specifies a continuation token from a previous search whose results were\nsplit into multiple pages. To get the next page, submit the same request\nspecifying the value from next_page_token.",
"location": "query",
"type": "string"
}
},
"path": "v1/assets",
"response": {
"$ref": "ListAssetsResponse"
}
}
}
},
"users": {
"resources": {
"assets": {
"methods": {
"list": {
"description": "Lists assets authored by the given user. Only the value 'me', representing\nthe currently-authenticated user, is supported. May include assets with an\naccess level of PRIVATE or\nUNLISTED and assets which are\nAll Rights Reserved for the\ncurrently-authenticated user.",
"flatPath": "v1/users/{usersId}/assets",
"httpMethod": "GET",
"id": "poly.users.assets.list",
"parameterOrder": [
"name"
],
"parameters": {
"format": {
"description": "Return only assets with the matching format. Acceptable values are:\n`BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.",
"location": "query",
"type": "string"
},
"name": {
"description": "A valid user id. Currently, only the special value 'me', representing the\ncurrently-authenticated user is supported. To use 'me', you must pass\nan OAuth token with the request.",
"location": "path",
"pattern": "^users/[^/]+$",
"required": true,
"type": "string"
},
"orderBy": {
"description": "Specifies an ordering for assets. Acceptable values are:\n`BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, which ranks assets\nbased on a combination of popularity and other features.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The maximum number of assets to be returned. This value must be between `1`\nand `100`. Defaults to `20`.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Specifies a continuation token from a previous search whose results were\nsplit into multiple pages. To get the next page, submit the same request\nspecifying the value from\nnext_page_token.",
"location": "query",
"type": "string"
},
"visibility": {
"description": "The visibility of the assets to be returned.\nDefaults to VISIBILITY_UNSPECIFIED which returns all assets.",
"enum": [
"VISIBILITY_UNSPECIFIED",
"PUBLISHED",
"PRIVATE"
],
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}/assets",
"response": {
"$ref": "ListUserAssetsResponse"
}
}
}
},
"likedassets": {
"methods": {
"list": {
"description": "Lists assets that the user has liked. Only the value 'me', representing\nthe currently-authenticated user, is supported. May include assets with an\naccess level of UNLISTED.",
"flatPath": "v1/users/{usersId}/likedassets",
"httpMethod": "GET",
"id": "poly.users.likedassets.list",
"parameterOrder": [
"name"
],
"parameters": {
"format": {
"description": "Return only assets with the matching format. Acceptable values are:\n`BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.",
"location": "query",
"type": "string"
},
"name": {
"description": "A valid user id. Currently, only the special value 'me', representing the\ncurrently-authenticated user is supported. To use 'me', you must pass\nan OAuth token with the request.",
"location": "path",
"pattern": "^users/[^/]+$",
"required": true,
"type": "string"
},
"orderBy": {
"description": "Specifies an ordering for assets. Acceptable values are:\n`BEST`, `NEWEST`, `OLDEST`, 'LIKED_TIME'. Defaults to `LIKED_TIME`, which\nranks assets based on how recently they were liked.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The maximum number of assets to be returned. This value must be between `1`\nand `100`. Defaults to `20`.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Specifies a continuation token from a previous search whose results were\nsplit into multiple pages. To get the next page, submit the same request\nspecifying the value from\nnext_page_token.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}/likedassets",
"response": {
"$ref": "ListLikedAssetsResponse"
}
}
}
}
}
}
},
"revision": "20180217",
"rootUrl": "https://poly.googleapis.com/",
"schemas": {
"Asset": {
"description": "Represents and describes an asset in the Poly library. An asset is a 3D model\nor scene created using [Tilt Brush](//www.tiltbrush.com),\n[Blocks](//vr.google.com/blocks/), or any 3D program that produces a file\nthat can be upload to Poly.",
"id": "Asset",
"properties": {
"authorName": {
"description": "The author's publicly visible name. Use this name when giving credit to the\nauthor. For more information, see [Licensing](/poly/discover/licensing).",
"type": "string"
},
"createTime": {
"description": "For published assets, the time when the asset was published.\nFor unpublished assets, the time when the asset was created.",
"format": "google-datetime",
"type": "string"
},
"description": {
"description": "The human-readable description, set by the asset's author.",
"type": "string"
},
"displayName": {
"description": "The human-readable name, set by the asset's author.",
"type": "string"
},
"formats": {
"description": "A list of Formats where each\nformat describes one representation of the asset.",
"items": {
"$ref": "Format"
},
"type": "array"
},
"isCurated": {
"description": "Whether this asset has been curated by the Poly team.",
"type": "boolean"
},
"license": {
"description": "The license under which the author has made the asset available\nfor use, if any.",
"enum": [
"UNKNOWN",
"CREATIVE_COMMONS_BY",
"ALL_RIGHTS_RESERVED"
],
"enumDescriptions": [
"Unknown license value.",
"Creative Commons CC-BY 3.0. https://creativecommons.org/licenses/by/3.0/",
"Unlicensed: All Rights Reserved by the author. Unlicensed assets are\n**not** returned by List Assets."
],
"type": "string"
},
"metadata": {
"description": "Application-defined opaque metadata for this asset. This field is only\nreturned when querying for the signed-in user's own assets, not for public\nassets. This string is limited to 1K chars. It is up to the creator of\nthe asset to define the format for this string (for example, JSON).",
"type": "string"
},
"name": {
"description": "The unique identifier for the asset in the form:\n`assets/{ASSET_ID}`.",
"type": "string"
},
"presentationParams": {
"$ref": "PresentationParams",
"description": "Hints for displaying the asset. Note that these parameters are not\nimmutable; the author of an asset may change them post-publication."
},
"thumbnail": {
"$ref": "File",
"description": "The thumbnail image for the asset."
},
"updateTime": {
"description": "The time when the asset was last modified. For published assets, whose\ncontents are immutable, the update time changes only when metadata\nproperties, such as visibility, are updated.",
"format": "google-datetime",
"type": "string"
},
"visibility": {
"description": "The visibility of the asset and who can access it.",
"enum": [
"VISIBILITY_UNSPECIFIED",
"PRIVATE",
"UNLISTED",
"PUBLIC"
],
"enumDescriptions": [
"Unknown (and invalid) visibility.",
"Access to the asset and its underlying files and resources is restricted to\nthe author.\n**Authentication:** You must supply an OAuth token that corresponds to the\nauthor's account.",
"Access to the asset and its underlying files and resources is available to\nanyone with the asset's name. Unlisted assets are **not**\nreturned by List Assets.",
"Access to the asset and its underlying files and resources is available\nto anyone."
],
"type": "string"
}
},
"type": "object"
},
"AssetImportMessage": {
"description": "A message generated by the asset import process.",
"id": "AssetImportMessage",
"properties": {
"code": {
"description": "The code associated with this message.",
"enum": [
"CODE_UNSPECIFIED",
"NO_IMPORTABLE_FILE",
"EMPTY_MODEL",
"OBJ_PARSE_ERROR",
"EXPIRED",
"IMAGE_ERROR",
"EXTRA_FILES_WITH_ARCHIVE",
"DEFAULT_MATERIALS",
"FATAL_ERROR",
"INVALID_ELEMENT_TYPE"
],
"enumDescriptions": [
"Unknown error code.",
"The asset import did not include any file that we can import (i.e. an OBJ\nfile).",
"When generating the preview for the import, no geometry was found.",
"A problem was encountered while parsing the OBJ file. The converter makes\na 'best effort' attempt to continue when encountering such issues. In\nsome cases the resulting preview model may still be acceptable. The\ndetails can be found in the parse error message.",
"The importer was not able to import the model before the expiration time.",
"The importer encountered a problem reading an image file.",
"Multiple files were encountered in addition to a ZIP archive. When\nuploading an archive only one file is permitted.",
"Default materials are used in the model. This means that one or more\nfaces is using default materials either because no usemtl statement was\nspecified or because the requested material was not found due to a\nmissing material file or bad material name. This does not cover the case\nof missing textures.",
"The importer encountered a fatal error and was unable to import the\nmodel.",
"The import includes a file of an unsupported element type. The file path\nis specified."
],
"type": "string"
},
"filePath": {
"description": "An optional file path. Only present for those error codes that specify it.",
"type": "string"
},
"imageError": {
"$ref": "ImageError",
"description": "An optional image error. Only present for INVALID_IMAGE_FILE."
},
"objParseError": {
"$ref": "ObjParseError",
"description": "An optional OBJ parse error. Only present for OBJ_PARSE_ERROR."
}
},
"type": "object"
},
"File": {
"description": "Represents a file in Poly, which can be a root,\nresource, or thumbnail file.",
"id": "File",
"properties": {
"contentType": {
"description": "The MIME content-type, such as `image/png`.\nFor more information, see\n[MIME types](//developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types).",
"type": "string"
},
"relativePath": {
"description": "The path of the resource file relative to the root file.\nFor root or thumbnail files, this is just the filename.",
"type": "string"
},
"url": {
"description": "The URL where the file data can be retrieved.",
"type": "string"
}
},
"type": "object"
},
"Format": {
"description": "The same asset can be represented in different formats, for example,\na [WaveFront .obj](//en.wikipedia.org/wiki/Wavefront_.obj_file) file with its\ncorresponding .mtl file or a [Khronos glTF](//www.khronos.org/gltf) file\nwith its corresponding .glb binary data. A format refers to a specific\nrepresentation of an asset and contains all information needed to\nretrieve and describe this representation.",
"id": "Format",
"properties": {
"formatComplexity": {
"$ref": "FormatComplexity",
"description": "Complexity stats about this representation of the asset."
},
"formatType": {
"description": "A short string that identifies the format type of this representation.\nPossible values are: `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.",
"type": "string"
},
"resources": {
"description": "A list of dependencies of the root element. May include, but is not\nlimited to, materials, textures, and shader programs.",
"items": {
"$ref": "File"
},
"type": "array"
},
"root": {
"$ref": "File",
"description": "The root of the file hierarchy. This will always be populated.\nFor some format_types - such as `TILT`, which are self-contained -\nthis is all of the data.\n\nOther types - such as `OBJ` - often reference other data elements.\nThese are contained in the resources field."
}
},
"type": "object"
},
"FormatComplexity": {
"description": "Information on the complexity of this Format.",
"id": "FormatComplexity",
"properties": {
"lodHint": {
"description": "A non-negative integer that represents the level of detail (LOD) of this\nformat relative to other formats of the same asset with the same\nformat_type.\nThis hint allows you to sort formats from the most-detailed (0) to\nleast-detailed (integers greater than 0).",
"format": "int32",
"type": "integer"
},
"triangleCount": {
"description": "The estimated number of triangles.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"ImageError": {
"description": "A message resulting from reading an image file.",
"id": "ImageError",
"properties": {
"code": {
"description": "The type of image error encountered. Optional for older image errors.",
"enum": [
"CODE_UNSPECIFIED",
"INVALID_IMAGE",
"IMAGE_TOO_BIG",
"WRONG_IMAGE_TYPE"
],
"enumDescriptions": [
"Unknown error code.",
"We were unable to read the image file.",
"The image size is too large.",
"The image data does not match the expected MIME type of the image."
],
"type": "string"
},
"filePath": {
"description": "The file path in the import of the image that was rejected.",
"type": "string"
}
},
"type": "object"
},
"ListAssetsResponse": {
"description": "A response message from a request to list.",
"id": "ListAssetsResponse",
"properties": {
"assets": {
"description": "A list of assets that match the criteria specified in the request.",
"items": {
"$ref": "Asset"
},
"type": "array"
},
"nextPageToken": {
"description": "The continuation token for retrieving the next page. If empty,\nindicates that there are no more pages. To get the next page, submit the\nsame request specifying this value as the\npage_token.",
"type": "string"
},
"totalSize": {
"description": "The total number of assets in the list, without pagination.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"ListLikedAssetsResponse": {
"description": "A response message from a request to list.",
"id": "ListLikedAssetsResponse",
"properties": {
"assets": {
"description": "A list of assets that match the criteria specified in the request.",
"items": {
"$ref": "Asset"
},
"type": "array"
},
"nextPageToken": {
"description": "The continuation token for retrieving the next page. If empty,\nindicates that there are no more pages. To get the next page, submit the\nsame request specifying this value as the\npage_token.",
"type": "string"
},
"totalSize": {
"description": "The total number of assets in the list, without pagination.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"ListUserAssetsResponse": {
"description": "A response message from a request to list.",
"id": "ListUserAssetsResponse",
"properties": {
"nextPageToken": {
"description": "The continuation token for retrieving the next page. If empty,\nindicates that there are no more pages. To get the next page, submit the\nsame request specifying this value as the\npage_token.",
"type": "string"
},
"totalSize": {
"description": "The total number of assets in the list, without pagination.",
"format": "int32",
"type": "integer"
},
"userAssets": {
"description": "A list of UserAssets matching the request.",
"items": {
"$ref": "UserAsset"
},
"type": "array"
}
},
"type": "object"
},
"ObjParseError": {
"description": "Details of an error resulting from parsing an OBJ file",
"id": "ObjParseError",
"properties": {
"code": {
"description": "The type of problem found (required).",
"enum": [
"CODE_UNSPECIFIED",
"INCONSISTENT_VERTEX_REFS",
"INVALID_COMMAND",
"INVALID_NUMBER",
"INVALID_VERTEX_REF",
"MISSING_GEOMETRIC_VERTEX",
"MISSING_TOKEN",
"TOO_FEW_DIMENSIONS",
"TOO_FEW_VERTICES",
"TOO_MANY_DIMENSIONS",
"UNSUPPORTED_COMMAND",
"UNUSED_TOKENS",
"VERTEX_NOT_FOUND",
"NUMBER_OUT_OF_RANGE",
"INVALID_VALUE",
"INVALID_TEXTURE_OPTION",
"TOO_MANY_PROBLEMS",
"MISSING_FILE_NAME",
"FILE_NOT_FOUND",
"UNKNOWN_MATERIAL",
"NO_MATERIAL_DEFINED",
"INVALID_SMOOTHING_GROUP",
"MISSING_VERTEX_COLORS",
"FILE_SUBSTITUTION",
"LINE_TOO_LONG",
"INVALID_FILE_PATH"
],
"enumDescriptions": [
"Unknown error code.",
"Vertex references are specified in an inconsistent style for a face (e.g.\nsome vertices specify texture vertices but some don't).",
"The command is invalid.",
"A invalid number was specified.",
"An invalid vertex reference was specified.",
"A vertex reference does not specify a geometric vertex.",
"An expected token was not found.",
"The vertex specified too few dimensions for its usage.",
"The face specified too few vertices.",
"The vertex specified too many dimensions for its usage.",
"This command is a valid OBJ command but is not supported. This error is\nonly generated for the first instance of such a command.",
"This line ended with unparsed token characters.",
"The specified vertex was not found.",
"The specified number was too large or small for its usage.",
"The specified parameter value was not recognized.",
"The specified texture option is not valid.",
"The maximum number of problems to report was reached. Parsing continues,\nbut further problems will be ignored.",
"An expected file name was not specified.",
"The specified file was not found in the import.",
"The specified material was not found in any material definition in the\nimport.",
"Material parameters were specified before the first material definition.",
"The smoothing group is not valid.",
"Vertex colors were specified for only some vertices of a face.",
"A missing file was found at a different file path.",
"A line in an OBJ or MTL file exceeded the maximum line length.",
"The file path was invalid. Only relative paths are supported."
],
"type": "string"
},
"endIndex": {
"description": "The ending character index at which the problem was found.",
"format": "int32",
"type": "integer"
},
"filePath": {
"description": "The file path in which the problem was found.",
"type": "string"
},
"line": {
"description": "The text of the line. Note that this may be truncated if the line was very\nlong. This may not include the error if it occurs after line truncation.",
"type": "string"
},
"lineNumber": {
"description": "Line number at which the problem was found.",
"format": "int32",
"type": "integer"
},
"startIndex": {
"description": "The starting character index at which the problem was found.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"PresentationParams": {
"description": "Hints for displaying the asset, based on information available when the asset\nwas uploaded.",
"id": "PresentationParams",
"properties": {
"colorSpace": {
"description": "The materials' diffuse/albedo color. This does not apply to vertex colors\nor texture maps.",
"enum": [
"UNKNOWN",
"LINEAR",
"GAMMA"
],
"enumDescriptions": [
"Invalid color value.",
"Linear color values. Default.",
"Colors should be converted to linear by assuming gamma = 2.0."
],
"type": "string"
},
"orientingRotation": {
"$ref": "Quaternion",
"description": "A rotation that should be applied to the object root to make it upright.\nMore precisely, this quaternion transforms from \"object space\" (the space\nin which the object is defined) to \"presentation space\", a coordinate\nsystem where +Y is up, +X is right, -Z is forward. For example, if\nthe object is the Eiffel Tower, in its local coordinate system the\nobject might be laid out such that the base of the tower is on the\nYZ plane and the tip of the tower is towards positive X. In this case\nthis quaternion would specify a rotation (of 90 degrees about the Z\naxis) such that in the presentation space the base of the tower is\naligned with the XZ plane, and the tip of the tower lies towards +Y.\n\nThis rotation is unrelated to the object's pose in the web preview,\nwhich is just a camera position setting and is *not* reflected in this\nrotation.\n\nPlease note: this is applicable only to the gLTF."
}
},
"type": "object"
},
"Quaternion": {
"description": "A [Quaternion](//en.wikipedia.org/wiki/Quaternion). Please note: if in the\nresponse you see \"w: 1\" and nothing else this is the default value of\n[0, 0, 0, 1] where x,y, and z are 0.",
"id": "Quaternion",
"properties": {
"w": {
"description": "The scalar component.",
"format": "double",
"type": "number"
},
"x": {
"description": "The x component.",
"format": "double",
"type": "number"
},
"y": {
"description": "The y component.",
"format": "double",
"type": "number"
},
"z": {
"description": "The z component.",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"StartAssetImportResponse": {
"description": "A response message from a request to list.\nThis is returned in the response field of the Operation.",
"id": "StartAssetImportResponse",
"properties": {
"assetId": {
"description": "The id of newly created asset. If this is empty when the operation is\ncomplete it means the import failed. Please refer to the\nasset_import_message field to understand what went wrong.",
"type": "string"
},
"assetImportId": {
"description": "The id of the asset import.",
"type": "string"
},
"assetImportMessages": {
"description": "The message from the asset import. This will contain any warnings\n(or - in the case of failure - errors) that occurred during import.",
"items": {
"$ref": "AssetImportMessage"
},
"type": "array"
},
"publishUrl": {
"description": "The publish URL for the asset.",
"type": "string"
}
},
"type": "object"
},
"UserAsset": {
"description": "Data about the user's asset.",
"id": "UserAsset",
"properties": {
"asset": {
"$ref": "Asset",
"description": "An Asset."
}
},
"type": "object"
}
},
"servicePath": "",
"title": "Poly API",
"version": "v1",
"version_module": true
}