v1

latestOpenAPI 3.0.02026-07-17166300328.1 KB
Servers

Import server

post/servers/import

Request body

namestring
urlstring
uuidstring uuid
authkeystring

Example request

{
  "name": "Phishing Server",
  "url": "https://misppriv.circl.lu",
  "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "authkey": "894c8d095180c7ea28789092e96ca6424199aa4f",
  "Organisation": {
    "name": "ORGNAME"
  }
}

Response

Server response

Example response

{
  "Server": {
    "id": "12345",
    "name": "Phishing Server",
    "url": "https://misppriv.circl.lu",
    "authkey": "894c8d095180c7ea28789092e96ca6424199aa4f",
    "org_id": "12345",
    "lastpulledid": "12345",
    "lastpushedid": "12345",
    "remote_org_id": "12345",
    "pull_rules": "{\"tags\":{\"OR\":[],\"NOT\":[]},\"orgs\":{\"OR\":[],\"NOT\":[]},\"url_params\":\"\"}",
    "push_rules": "{\"tags\":{\"OR\":[],\"NOT\":[]},\"orgs\":{\"OR\":[],\"NOT\":[]}}",
    "priority": "1"
  }
}