{ "swagger": "2.0", "info": { "title": "ownCloud Infinite Scale thumbnails", "version": "1.0.0", "contact": { "name": "ownCloud GmbH", "url": "https://github.com/owncloud/ocis", "email": "support@owncloud.com" }, "license": { "name": "Apache-2.0", "url": "https://github.com/owncloud/ocis/blob/master/LICENSE" } }, "tags": [ { "name": "ThumbnailService" } ], "schemes": [ "http", "https" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "paths": {}, "definitions": { "GetThumbnailRequestThumbnailType": { "type": "string", "enum": [ "PNG", "JPG" ], "default": "PNG", "description": "The file types to which the thumbnail can get encoded to." }, "protobufAny": { "type": "object", "properties": { "typeUrl": { "type": "string" }, "value": { "type": "string", "format": "byte" } } }, "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": { "thumbnail": { "type": "string", "format": "byte", "title": "The thumbnail as a binary" }, "mimetype": { "type": "string", "title": "The mimetype of the thumbnail" } }, "title": "The service response" }, "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": "https://owncloud.dev/extensions/thumbnails/" } }