v2

latestOpenAPI 3.0.3Apache 2.02026-07-31158109678.6 KB
articles

Article Embargo Details

View a private article embargo details

get/account/articles/{article_id}/embargo

Path parameters

article_idinteger required

Article unique identifier

Response

OK. Embargo for article

is_embargoedboolean required

True if embargoed

embargo_datestring

Date when the embargo expires and the article gets published, null if not embargoed

embargo_type'article' | 'file'

Embargo level. Possible values: article, file

embargo_titlestring required

Title for embargo

embargo_reasonstring required

Reason for embargo

embargo_optionsobject[] required

List of embargo permissions that are associated with the article. If the type is logged_in and the group_ids list is empty, then the whole institution can see the article; if there are multiple group_ids, then only users that are under those groups can see the article.

Example response

{
  "is_embargoed": true,
  "embargo_date": "2018-05-22T04:04:04",
  "embargo_type": "file",
  "embargo_title": "File(s) under embargo",
  "embargo_options": [
    {
      "id": 13,
      "type": "ip_range",
      "group_ids": [],
      "ip_name": "bacau"
    },
    {
      "id": 12,
      "type": "logged_in",
      "ip_name": "",
      "group_ids": [
        550,
        9448
      ]
    }
  ]
}