{ "swagger": "2.0", "info": { "title": "КуСфера thumbnails", "version": "1.0.0", "contact": { "name": "КуСфера", "url": "", "email": "" }, "license": { "name": "Apache-2.0", "url": "" } }, "tags": [ { "name": "ThumbnailService" } ], "schemes": [ "http", "https" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "paths": {}, "definitions": { "protobufAny": { "type": "object", "properties": { "@type": { "type": "string" } }, "additionalProperties": {} }, "rpcStatus": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string" }, "details": { "type": "array", "items": { "$ref": "#/definitions/protobufAny" } } } }, "v0CS3Source": { "type": "object", "properties": { "path": { "type": "string" }, "authorization": { "type": "string" } } }, "v0GetThumbnailResponse": { "type": "object", "properties": { "dataEndpoint": { "type": "string", "description": "The endpoint where the thumbnail can be downloaded." }, "transferToken": { "type": "string", "description": "The transfer token to be able to download the thumbnail." }, "mimetype": { "type": "string", "title": "The mimetype of the thumbnail" } }, "title": "The service response" }, "v0ThumbnailType": { "type": "string", "enum": [ "PNG", "JPG", "GIF" ], "default": "PNG", "description": "The file types to which the thumbnail can be encoded to.\n\n - PNG: Represents PNG type\n - JPG: Represents JPG type\n - GIF: Represents GIF type" }, "v0WebdavSource": { "type": "object", "properties": { "url": { "type": "string", "description": "REQUIRED." }, "isPublicLink": { "type": "boolean", "description": "REQUIRED." }, "webdavAuthorization": { "type": "string", "description": "OPTIONAL." }, "revaAuthorization": { "type": "string", "description": "OPTIONAL." }, "publicLinkToken": { "type": "string", "description": "OPTIONAL." } } } }, "externalDocs": { "description": "Developer Manual", "url": "" } }