openapi: 3.2.0 info: title: Cesnet Cabinet Manager API version: 0.0.0 contact: url: https://perun-aai.org email: perun@cesnet.cz description: 'Operations tagged CabinetManager across 2 of this provider''s published API definitions: cesnet-perun-rpc-openapi.yml, cesnet-perun-rpc-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed security: - BasicAuth: [] - BearerAuth: [] tags: - name: CabinetManager description: CabinetManager RPC API in Perun externalDocs: url: https://perun-aai.org/documentation/technical-documentation/rpc-api/rpc-javadoc-CabinetManager.html paths: /json/cabinetManager/getPublicationSystems: get: tags: - CabinetManager operationId: getPublicationSystems summary: Get all PublicationSystems in Perun. If none, return empty list responses: '200': $ref: '#/components/responses/ListOfPublicationSystemsResponse' default: $ref: '#/components/responses/ExceptionResponse' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /urlinjsonout/cabinetManager/deletePublicationSystem: post: tags: - CabinetManager operationId: deletePublicationSystem summary: Deletes PublicationSystem by its ID parameters: - $ref: '#/components/parameters/id' responses: '200': $ref: '#/components/responses/VoidResponse' default: $ref: '#/components/responses/ExceptionResponse' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/createPublicationSystem: post: tags: - CabinetManager operationId: createPublicationSystem summary: Creates new PublicationSystem responses: '200': $ref: '#/components/responses/PublicationSystemResponse' default: $ref: '#/components/responses/ExceptionResponse' requestBody: required: true content: application/json: schema: title: InputCreatePublicationSystem description: input to createPublicationSystem type: object required: - pubsys properties: pubsys: $ref: '#/components/schemas/PublicationSystem' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/updatePublicationSystem: post: tags: - CabinetManager operationId: updatePublicationSystem summary: Updates PublicationSystem by its ID responses: '200': $ref: '#/components/responses/PublicationSystemResponse' default: $ref: '#/components/responses/ExceptionResponse' requestBody: required: true content: application/json: schema: title: InputUpdatePublicationSystem description: input to updatePublicationSystem type: object required: - pubsys properties: pubsys: $ref: '#/components/schemas/PublicationSystem' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/getCategories: get: tags: - CabinetManager operationId: getCategories summary: Return list of all Categories in Perun or empty list of none present responses: '200': $ref: '#/components/responses/ListOfCategoryResponse' default: $ref: '#/components/responses/ExceptionResponse' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/createCategory/cat: post: tags: - CabinetManager operationId: createCategoryCat summary: Creates new Category for Publications with specified name and rank. responses: '200': $ref: '#/components/responses/CategoryResponse' default: $ref: '#/components/responses/ExceptionResponse' requestBody: required: true content: application/json: schema: title: InputCreateCategory description: input to createCategory type: object required: - category properties: category: $ref: '#/components/schemas/Category' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/createCategory/n-r: post: tags: - CabinetManager operationId: createCategoryNR summary: Creates new Category for Publications with specified name and rank responses: '200': $ref: '#/components/responses/CategoryResponse' default: $ref: '#/components/responses/ExceptionResponse' requestBody: required: true content: application/json: schema: title: InputCreateCategoryNR description: input to createCategory type: object required: - name - rank properties: name: type: string description: name of the category rank: type: number format: double description: the rank of the category servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/updateCategory: post: tags: - CabinetManager operationId: updateCategory summary: Updates publications category in Perun. responses: '200': $ref: '#/components/responses/CategoryResponse' default: $ref: '#/components/responses/ExceptionResponse' requestBody: required: true content: application/json: schema: title: InputUpdateCategory description: input to updateCategory type: object required: - category properties: category: $ref: '#/components/schemas/Category' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /urlinjsonout/cabinetManager/deleteCategory: post: tags: - CabinetManager operationId: deleteCategory summary: Delete category by its ID. parameters: - $ref: '#/components/parameters/id' responses: '200': $ref: '#/components/responses/VoidResponse' default: $ref: '#/components/responses/ExceptionResponse' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/createThanks: post: tags: - CabinetManager operationId: createThanks summary: Creates new Thanks for Publication responses: '200': $ref: '#/components/responses/ThanksResponse' default: $ref: '#/components/responses/ExceptionResponse' requestBody: required: true content: application/json: schema: title: InputCreateThanks description: input to createThanks type: object required: - thanks properties: thanks: $ref: '#/components/schemas/Thanks' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /urlinjsonout/cabinetManager/deleteThanks: post: tags: - CabinetManager operationId: deleteThanks summary: Delete Thanks by its ID parameters: - $ref: '#/components/parameters/id' responses: '200': $ref: '#/components/responses/VoidResponse' default: $ref: '#/components/responses/ExceptionResponse' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/getRichThanksByPublicationId: get: tags: - CabinetManager operationId: getRichThanksByPublicationId summary: Get ThanksForGUI of Publication specified by its ID or empty list parameters: - $ref: '#/components/parameters/id' responses: '200': $ref: '#/components/responses/ListOfThanksForGUIResponse' default: $ref: '#/components/responses/ExceptionResponse' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/createAuthorship: post: tags: - CabinetManager operationId: createAutorship summary: Creates Authorship. responses: '200': $ref: '#/components/responses/AuthorshipResponse' default: $ref: '#/components/responses/ExceptionResponse' requestBody: required: true content: application/json: schema: title: InputCreateAuthorship description: input to createAuthorship type: object required: - authorship properties: authorship: $ref: '#/components/schemas/Authorship' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /urlinjsonout/cabinetManager/deleteAuthorship: post: tags: - CabinetManager operationId: deleteAuthorship summary: Delete Authorship by its userId and publicationId parameters: - $ref: '#/components/parameters/publicationId' - name: userId schema: type: integer in: query required: true description: id of user responses: '200': $ref: '#/components/responses/VoidResponse' default: $ref: '#/components/responses/ExceptionResponse' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/getRank: get: tags: - CabinetManager operationId: getRank summary: Gets overall rank of given user as sum of all his publications Authorships parameters: - $ref: '#/components/parameters/userId' responses: '200': $ref: '#/components/responses/DoubleResponse' default: $ref: '#/components/responses/ExceptionResponse' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/findAuthorsByPublicationId: get: tags: - CabinetManager operationId: findAuthorsByPublicationId summary: Return all Authors of Publication specified by its ID. Empty list of none found parameters: - $ref: '#/components/parameters/id' responses: '200': $ref: '#/components/responses/ListOfAuthorResponse' default: $ref: '#/components/responses/ExceptionResponse' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/findAllAuthors: get: tags: - CabinetManager operationId: findAllAuthors summary: Return all Authors of Publications. Empty list of none found responses: '200': $ref: '#/components/responses/ListOfAuthorResponse' default: $ref: '#/components/responses/ExceptionResponse' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/findNewAuthors: get: tags: - CabinetManager operationId: findNewAuthors summary: Find new Authors for Publication. parameters: - $ref: '#/components/parameters/searchString' responses: '200': $ref: '#/components/responses/ListOfAuthorResponse' default: $ref: '#/components/responses/ExceptionResponse' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/createPublication: post: tags: - CabinetManager operationId: createPublication summary: Create Publication. responses: '200': $ref: '#/components/responses/PublicationResponse' default: $ref: '#/components/responses/ExceptionResponse' requestBody: required: true content: application/json: schema: title: InputCreatePublication description: input to createPublication type: object required: - publication properties: publication: $ref: '#/components/schemas/Publication' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/updatePublication: post: tags: - CabinetManager operationId: updatePublication summary: Update existing publication by its ID responses: '200': $ref: '#/components/responses/PublicationResponse' default: $ref: '#/components/responses/ExceptionResponse' requestBody: required: true content: application/json: schema: title: InputUpdatePublication description: input to updatePublication type: object required: - publication properties: publication: $ref: '#/components/schemas/Publication' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /urlinjsonout/cabinetManager/deletePublication: post: tags: - CabinetManager operationId: deletePublication summary: Delete publication by its ID. parameters: - $ref: '#/components/parameters/id' responses: '200': $ref: '#/components/responses/VoidResponse' default: $ref: '#/components/responses/ExceptionResponse' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/findPublicationById: get: tags: - CabinetManager operationId: findPublicationById summary: Return Publication by its ID parameters: - $ref: '#/components/parameters/id' responses: '200': $ref: '#/components/responses/PublicationForGUIResponse' default: $ref: '#/components/responses/ExceptionResponse' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/findPublicationsByGUIFilter: get: tags: - CabinetManager operationId: findPublicationsByGUIFilter summary: 'Finds rich publications in Cabinet by GUI filter: id = exact match (used when…' parameters: - $ref: '#/components/parameters/title' - $ref: '#/components/parameters/isbn' - $ref: '#/components/parameters/doi' - name: id in: query schema: type: integer description: Publication id required: false - name: year in: query schema: type: integer description: Year required: false - name: category in: query schema: type: integer description: Category required: false - name: yearSince in: query schema: type: integer description: Year since required: false - name: yearTill in: query schema: type: integer description: Year till required: false - name: userId in: query schema: type: integer description: User id required: false responses: '200': $ref: '#/components/responses/ListOfPublicationForGUIResponse' default: $ref: '#/components/responses/ExceptionResponse' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/findPublicationsByFilter: get: tags: - CabinetManager operationId: findPublicationsByFilter summary: Finds publications in Cabinet by filter parameters: - name: yearSince in: query schema: type: integer description: Year since required: false - name: yearTill in: query schema: type: integer description: Year till required: false - name: userId in: query schema: type: integer description: User id required: true responses: '200': $ref: '#/components/responses/ListOfPublicationResponse' default: $ref: '#/components/responses/ExceptionResponse' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/lockPublications: post: tags: - CabinetManager operationId: lockPublications summary: (Un)Lock passed Publications for changes responses: '200': $ref: '#/components/responses/VoidResponse' default: $ref: '#/components/responses/ExceptionResponse' requestBody: required: true content: application/json: schema: title: InputLockPublications description: input to lockPublications type: object required: - lock - publications properties: publications: type: array items: $ref: '#/components/schemas/Publication' lock: type: boolean servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/findExternalPublications: get: tags: - CabinetManager operationId: findExternalPublications summary: Finds publications of perun's user specified in param Search is done in… parameters: - $ref: '#/components/parameters/userId' - name: yearSince in: query schema: type: integer description: Year since required: true - name: yearTill in: query schema: type: integer description: Year till required: true - name: pubSysNamespace in: query schema: type: string description: (MU or ZCU) required: true responses: '200': $ref: '#/components/responses/ListOfPublicationResponse' default: $ref: '#/components/responses/ExceptionResponse' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed /json/cabinetManager/findSimilarPublications: get: tags: - CabinetManager operationId: findSimilarPublications summary: Finds similar publications parameters: - $ref: '#/components/parameters/title' - $ref: '#/components/parameters/doi' - $ref: '#/components/parameters/isbn' responses: '200': $ref: '#/components/responses/ListOfPublicationForGUIResponse' default: $ref: '#/components/responses/ExceptionResponse' servers: - url: https://{server}/{authentication}/rpc description: Perun RPC server variables: server: default: api-dev.perun-aai.org description: DNS name of a Perun server authentication: default: ba description: 'way of authentication: ba - HTTP Basic Auth krb - Kerberos non - no authentication cert - X509 client certificate oauth - OAuth 2.0 bearer access token fed - SAML federation ' enum: - ba - krb - non - cert - oauth - fed components: parameters: userId: name: user description: id of User schema: type: integer in: query required: true publicationId: name: publicationId description: id of publication schema: type: integer in: query required: true title: name: title description: Title schema: type: string in: query required: false doi: name: doi description: DOI schema: type: string in: query required: false isbn: name: isbn description: ISBN schema: type: string in: query required: false searchString: name: searchString description: Text to search by schema: type: string in: query required: true id: name: id description: numeric id schema: type: integer in: query required: true schemas: Author: allOf: - $ref: '#/components/schemas/PerunBean' properties: firstName: type: string lastName: type: string middleName: type: string titleBefore: type: string titleAfter: type: string attributes: type: array items: $ref: '#/components/schemas/Attribute' authorships: type: array items: $ref: '#/components/schemas/Authorship' AttributeDefinition: allOf: - $ref: '#/components/schemas/Auditable' properties: friendlyName: type: string namespace: type: string description: type: - string - 'null' type: type: string displayName: type: string writable: type: boolean unique: type: boolean friendlyNameParameter: type: string readOnly: true baseFriendlyName: type: string readOnly: true entity: type: string readOnly: true PerunBean: description: identifiable entity in Perun, common ancestor of all entity classes type: object properties: id: type: integer beanName: type: string required: - id - beanName discriminator: propertyName: beanName PublicationForGUI: allOf: - $ref: '#/components/schemas/Publication' properties: pubSystemName: type: string categoryName: type: string thanks: type: array items: $ref: '#/components/schemas/ThanksForGUI' Publication: allOf: - $ref: '#/components/schemas/PerunBean' properties: authors: type: array items: $ref: '#/components/schemas/Author' externalId: type: integer publicationSystemId: type: integer title: type: string year: type: integer main: type: string isbn: type: string doi: type: string categoryId: type: integer rank: type: number format: double locked: type: boolean createdBy: type: string createdByUid: type: integer createdDate: type: string format: date PublicationSystem: allOf: - $ref: '#/components/schemas/PerunBean' properties: friendlyName: type: string url: type: string username: type: string password: type: string loginNamespace: type: string type: type: string Thanks: allOf: - $ref: '#/components/schemas/PerunBean' properties: publicationId: type: integer ownerId: type: integer createdBy: type: string createdByUid: type: integer createdDate: type: string format: date PerunException: description: exception thrown from inside of Perun type: object properties: errorId: type: string name: type: string message: type: string Category: allOf: - $ref: '#/components/schemas/PerunBean' properties: name: type: string rank: type: number format: double Authorship: allOf: - $ref: '#/components/schemas/PerunBean' properties: publicationId: type: integer userId: type: integer createdBy: type: string createdDate: type: string format: date createdByUid: type: integer Auditable: description: represents audit information allOf: - $ref: '#/components/schemas/PerunBean' properties: createdAt: type: - string - 'null' createdBy: type: - string - 'null' modifiedAt: type: - string - 'null' modifiedBy: type: - string - 'null' createdByUid: type: - integer - 'null' modifiedByUid: type: - integer - 'null' ThanksForGUI: allOf: - $ref: '#/components/schemas/Thanks' properties: ownerName: type: string Attribute: allOf: - $ref: '#/components/schemas/AttributeDefinition' properties: valueCreatedAt: type: - string - 'null' valueCreatedBy: type: - string - 'null' valueModifiedAt: type: - string - 'null' valueModifiedBy: type: - string - 'null' value: {} responses: ListOfPublicationSystemsResponse: description: returns List content: application/json: schema: type: array items: $ref: '#/components/schemas/PublicationSystem' VoidResponse: description: returns nothing ExceptionResponse: description: exception occurred content: application/json: schema: $ref: '#/components/schemas/PerunException' PublicationResponse: description: return Publication content: application/json: schema: $ref: '#/components/schemas/Publication' CategoryResponse: description: returns Category content: application/json: schema: $ref: '#/components/schemas/Category' PublicationForGUIResponse: description: return PublicationForGUI content: application/json: schema: $ref: '#/components/schemas/PublicationForGUI' ListOfCategoryResponse: description: returns List content: application/json: schema: type: array items: $ref: '#/components/schemas/Category' DoubleResponse: description: returns Double content: application/json: schema: type: number format: double AuthorshipResponse: description: returns Authorship content: application/json: schema: $ref: '#/components/schemas/Authorship' ListOfAuthorResponse: description: returns List content: application/json: schema: type: array items: $ref: '#/components/schemas/Author' PublicationSystemResponse: description: returns PublicationSystem content: application/json: schema: $ref: '#/components/schemas/PublicationSystem' ThanksResponse: description: returns Thanks content: application/json: schema: $ref: '#/components/schemas/Thanks' ListOfPublicationForGUIResponse: description: return List content: application/json: schema: type: array items: $ref: '#/components/schemas/PublicationForGUI' ListOfThanksForGUIResponse: description: returns List content: application/json: schema: type: array items: $ref: '#/components/schemas/ThanksForGUI' ListOfPublicationResponse: description: return List content: application/json: schema: type: array items: $ref: '#/components/schemas/Publication' securitySchemes: BasicAuth: description: HTTP Basic authentication with username and password type: http scheme: basic BearerAuth: description: 'OAuth2 Resource Server authentication using access token in ''Authorization: Bearer'' HTTP header' type: http scheme: bearer x-refined-from: - cesnet-perun-rpc-openapi.yml - cesnet-perun-rpc-openapi.yml