Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Method description

Get a list of all blacklists for this instance. If the lang parameter is present, the filter gets a list of blacklists for this instance filtering by lang.

Security

The calling user must have the EB_ROOT, EB_ADMIN, EB_APP, SEARCH_ADMIN, SEARCH_MANAGER or SEARCH_ANALYST role for this instance or the global instance.

Parameters

NameRequiredDescription
lang(error)Filter by lang

Response format and codes

HTTP code

Description

200OK. Response follows
400Invalid parameters or blacklist already exists. Error response will include details
401The user does not meet the security criteria
Response
{
  "num_found": 3,
  "results": [
    {
      "created_on": "2017-02-24T10:19:27",
      "id": "58b008b0f9cdda056a241e49",
      "lang": "en_EN",
      "terms": "prueba 1 mod",
      "updated_on": "2017-02-24T10:20:23"
    },
    {
      "created_on": "2017-02-24T10:23:13",
      "id": "58b00991f9cdda056b78a7eb",
      "lang": "en_EN",
      "terms": "prueba 2",
      "updated_on": "2017-02-24T10:23:13"
    },
    {
      "created_on": "2017-02-24T10:23:23",
      "id": "58b0099bf9cdda056a241e4a",
      "lang": "es_ES",
      "terms": "prueba 1",
      "updated_on": "2017-02-24T10:23:23"
    }
  ]
}


purpose

MongoDBsimple database storage



  • No labels