Creates Authorship. Everything except current date must be already set in Authorship object. Authorship is checked for existence before creation, if exists, existing object is returned. When authorship is successfully created, users priority coefficient is updated.
Parameter name | Data type | Description |
---|---|---|
authorship | Authorship | Authorship to be created |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
Authorship | Created authorship |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/createAuthorship
Example params
{ "authorship" : {...} }
Example response
{ ... TODO ... }
Creates new Category for Publications with specified name and rank. Category object's parameter name must be non-empty, max 128 chars long and rank must be double with single digit after decimal point. Other parameters are ignored.
Parameter name | Data type | Description |
---|---|---|
category | Category | new Category object, must contain: name, rank |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
Category | Created Category with ID set |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/createCategory
Example params
{ "category" : { "name" : "My testing category" , "rank" : 8.4 } }
Example response
{ ... TODO ... }
Creates new Category for Publications with specified name and rank.
Parameter name | Data type | Description |
---|---|---|
name | String | the name of the category |
rank | Double | the rank of the category |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
Category | Created Category with ID set |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/createCategory
Example params
{ "name" : "My testing category" , "rank" : 8.4 }
Example response
{ ... TODO ... }
Create Publication. If exists by its ID or EXT_ID,PUB_SYS_ID then existing publication is returned.
Parameter name | Data type | Description |
---|---|---|
publication | Publication | Publication to create |
Thrown exception | Description |
---|---|
CabinetException | |
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
Publication | Created publication with ID set |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/createPublication
Example params
{ "publication" : {...} }
Example response
{ ... TODO ... }
Creates new PublicationSystem.
Parameter name | Data type | Description |
---|---|---|
pubsys | PublicationSystem | Publication system to create. |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
PublicationSystem | Created PublicationSystem with ID set. |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/createPublicationSystem
Example params
{ "pubsys" : {...} }
Example response
{ ... TODO ... }
Creates new Thanks for Publication
Parameter name | Data type | Description |
---|---|---|
thanks | Thanks | new Thanks object |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
Thanks | Created thanks |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/createThanks
Example params
{ "thanks" : {...} }
Example response
{ ... TODO ... }
Delete Authorship by its userId and publicationId.
Parameter name | Data type | Description |
---|---|---|
publicationId | int | Publication id |
userId | int | User id |
Thrown exception | Description |
---|---|
CabinetException | When Authorship doesn't exists |
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
void |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/deleteAuthorship
Example params
{ "publicationId" : 49 , "userId" : 69 }
Example response
null
Delete category by its ID. If category contains any publications, it can't be deleted.
Parameter name | Data type | Description |
---|---|---|
id | int | Category id |
Thrown exception | Description |
---|---|
CabinetException | When Category doesn't exists or has publications |
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
void |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/deleteCategory
Example params
{ "id" : 20 }
Example response
null
Delete publication by its ID. Only Author of the record or PerunAdmin can do this. - Author deletes Authorships and Thanks from publication. - PerunAdmin also delete publication record.
Parameter name | Data type | Description |
---|---|---|
id | int | ID of Publication to delete |
Thrown exception | Description |
---|---|
CabinetException | When publication not exists |
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
void |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/deletePublication
Example params
{ "id" : 49 }
Example response
null
Deletes PublicationSystem by its ID.
Parameter name | Data type | Description |
---|---|---|
id | int | ID of PublicationSystem to delete. |
Thrown exception | Description |
---|---|
CabinetException | When Category doesn't exists or has publications |
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
void |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/deletePublicationSystem
Example params
{ "id" : 38 }
Example response
null
Delete Thanks by its ID.
Parameter name | Data type | Description |
---|---|---|
id | int | Thanks id |
Thrown exception | Description |
---|---|
CabinetException | When Thanks doesn't exists |
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
void |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/deleteThanks
Example params
{ "id" : 25 }
Example response
null
Return all Authors of Publications. Empty list of none found.
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
List<Author> | List of all Authors of Publications. Empty list of none found. |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/findAllAuthors
Example response
{ ... TODO ... }
Return all Authors of Publication specified by its ID. Empty list of none found.
Parameter name | Data type | Description |
---|---|---|
id | int | ID of Publication to look by |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
List<Author> | List of Authors of Publication specified its ID. Empty list of none found. |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/findAuthorsByPublicationId
Example params
{ "id" : 22 }
Example response
{ ... TODO ... }
Finds publications of perun's user specified in param Search is done in external publication systems (MU, ZCU) All parameters are required.
Parameter name | Data type | Description |
---|---|---|
user | int | Perun user |
yearSince | int | Year since |
yearTill | int | Year till - must be equal or greater then yearSince |
pubSysNamespace | String | (MU or ZCU) |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
List<Publication> | Found publications |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/findExternalPublications
Example params
{ "user" : 77 , "yearSince" : 89 , "yearTill" : 3 , "pubSysNamespace" : "text" }
Example response
{ ... TODO ... }
Find new Authors for Publication. Empty list of none found. Used by users to search for colleagues to add them as co-authors.
Parameter name | Data type | Description |
---|---|---|
searchString | String | Search string to find new Authors by |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
List<Author> | List of new possible Authors for Publication. Empty list of none found. |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/findNewAuthors
Example params
{ "searchString" : "text" }
Example response
{ ... TODO ... }
Return Publication by its ID.
Parameter name | Data type | Description |
---|---|---|
id | int | ID of Publication |
Thrown exception | Description |
---|---|
CabinetException | When such Publication doesn't exists |
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
PublicationForGUI | by its ID |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/findPublicationById
Example params
{ "id" : 95 }
Example response
{ ... TODO ... }
Finds publications in Cabinet by filter.
Parameter name | Data type | Description |
---|---|---|
yearSince | int | Year since (use <1 to disable this filter) |
yearTill | int | Year till (use <1 to disable this filter) |
userId | int | Author/User id |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
List<Publication> | Found publications |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/findPublicationsByFilter
Example params
{ "yearSince" : 84 , "yearTill" : 13 , "userId" : 47 }
Example response
{ ... TODO ... }
Finds rich publications in Cabinet by GUI filter: id = exact match (used when search for publication of authors) title = if "like" this substring year = exact match isbn = if "like" this substring category = exact match yearSince = if year >= yearSince yearTill = if year <= yearTill userId = exact match or 0 If you don't want to filter by publication params, do not include the attribute in the query.
Parameter name | Data type | Description |
---|---|---|
id | int | Publication id |
title | String | Title |
isbn | String | ISBN |
year | int | Year |
category | int | Category |
doi | String | DOI |
yearSince | int | Year since |
yearTill | int | Year till |
userId | int | User id |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
List<PublicationForGUI> | Found publications |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/findPublicationsByGUIFilter
Example params
{ "id" : 68 , "title" : "text" , "isbn" : "text" , "year" : 43 , "category" : 79 , "doi" : "text" , "yearSince" : 97 , "yearTill" : 77 , "userId" : 22 }
Example response
{ ... TODO ... }
Finds similar publications
Parameter name | Data type | Description |
---|---|---|
title | String | Title |
isbn | String | ISBN |
doi | String | DOI |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
List<PublicationForGUI> | Found publications |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/findSimilarPublications
Example params
{ "title" : "text" , "isbn" : "text" , "doi" : "text" }
Example response
{ ... TODO ... }
Finds similar publications
Parameter name | Data type | Description |
---|---|---|
isbn | String | ISBN |
doi | String | DOI |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
List<PublicationForGUI> | Found publications |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/findSimilarPublications
Example params
{ "isbn" : "text" , "doi" : "text" }
Example response
{ ... TODO ... }
Finds similar publications
Parameter name | Data type | Description |
---|---|---|
doi | String | DOI |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
List<PublicationForGUI> | Found publications |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/findSimilarPublications
Example params
{ "doi" : "text" }
Example response
{ ... TODO ... }
Finds similar publications
Parameter name | Data type | Description |
---|---|---|
title | String | Title |
doi | String | DOI |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
List<PublicationForGUI> | Found publications |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/findSimilarPublications
Example params
{ "title" : "text" , "doi" : "text" }
Example response
{ ... TODO ... }
Finds similar publications
Parameter name | Data type | Description |
---|---|---|
title | String | Title |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
List<PublicationForGUI> | Found publications |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/findSimilarPublications
Example params
{ "title" : "text" }
Example response
{ ... TODO ... }
Finds similar publications
Parameter name | Data type | Description |
---|---|---|
isbn | String | ISBN |
doi | String | DOI |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
List<PublicationForGUI> | Found publications |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/findSimilarPublications
Example params
{ "isbn" : "text" , "doi" : "text" }
Example response
{ ... TODO ... }
Finds similar publications
Parameter name | Data type | Description |
---|---|---|
isbn | String | ISBN |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
List<PublicationForGUI> | Found publications |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/findSimilarPublications
Example params
{ "isbn" : "text" }
Example response
{ ... TODO ... }
Return list of all Categories in Perun or empty list of none present.
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
List<Category> | Categories |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/getCategories
Example response
{ ... TODO ... }
Get all PublicationSystems in Perun. If none, return empty list.
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
List<PublicationSystem> | List of all PublicationSystems or empty list. |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/getPublicationSystems
Example response
{ ... TODO ... }
Gets overall rank of given user as sum of all his publications Authorships.
Parameter name | Data type | Description |
---|---|---|
user | int | ID of user to get Rank for |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
double | Total rank of user or 1.0 if user has no Authorships yet (default rank). |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/getRank
Example params
{ "user" : 64 }
Example response
{ ... TODO ... }
Get ThanksForGUI of Publication specified by its ID or empty list.
Parameter name | Data type | Description |
---|---|---|
id | int | Publication id |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
List<ThanksForGUI> | Found thanks |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/getRichThanksByPublicationId
Example params
{ "id" : 80 }
Example response
{ ... TODO ... }
(Un)Lock passed Publications for changes.
Parameter name | Data type | Description |
---|---|---|
lock | boolean | TRUE (lock) / FALSE (unlock) |
publications | List<Publication> | Publications to (un)lock |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
void |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/lockPublications
Example params
{ "lock" : true , "publications" : {...} }
Example response
null
Updates publications category in Perun. Category to update is found by ID. When category rank is changed, priorityCoefficient for all authors of books from this category, is recalculated.
Parameter name | Data type | Description |
---|---|---|
category | Category | to update to |
Thrown exception | Description |
---|---|
CabinetException | When Category doesn't exists |
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
Category | Updated category |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/updateCategory
Example params
{ "category" : {...} }
Example response
{ ... TODO ... }
Update existing publication by its ID.
Parameter name | Data type | Description |
---|---|---|
publication | Publication | Publication to update |
Thrown exception | Description |
---|---|
CabinetException | When same Publication already exists |
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
Publication | Updated publication by its ID |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/updatePublication
Example params
{ "publication" : {...} }
Example response
{ ... TODO ... }
Updates PublicationSystem by its ID.
Parameter name | Data type | Description |
---|---|---|
pubsys | PublicationSystem | Publication system to update. |
Thrown exception | Description |
---|---|
InternalErrorException | When unspecified error occur. See exception param message for explanation. |
PrivilegeException | When caller is not allowed to call this method. Result may vary based on caller identity and provided parameter values. |
RpcException | Wrong usage of API (wrong url, missing param etc.). See exception params message and type for explanation. |
Return type | Description |
---|---|
PublicationSystem | Created PublicationSystem with ID set. |
Example URL
https://[hostname]/krb/rpc/json/cabinetManager/updatePublicationSystem
Example params
{ "pubsys" : {...} }
Example response
{ ... TODO ... }