Web Service Method: Request Notifications Setting for a Given Project
Web Service Method: Request Notifications Setting for a Given Project
Description |
---|
Returns a notification setting which has been configured for the given project. |
URL: /PoolParty/api/notifications/{project}/setting
Request
Supported Methods |
---|
GET |
application/x-www-form-urlencoded
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
iri | IRI | true | An IRI value. |
IRI Type Attribute
JSON representation of an IRI object.
Attribute | Type | Comment |
---|---|---|
uri | String | The string value of the URI. URIs must contain a colon ':' and must not contain any whitespaces. |
{ "uri" : "https://semantic-web.com/api/uri#1465" }
Response
Content-Type: application/json
Response Attributes
A JsonNotificationSetting object.
Attribute | Type | Comment |
---|---|---|
category | NotificationCategory | WEBHOOK | PUSH | EMAIL | LOGGING |
interval | NotificationInterval | IMMEDIATELY | QUARTERLY | HOURLY | DAILY |
iri | IRI | |
label | String | |
trigger | Array of NotificationTrigger |
{ "iri" : { "uri" : "https://semantic-web.com/api/iri#7959" }, "interval" : "HOURLY", "label" : "some label", "trigger" : [ "CONCEPT_BLACKLIST_ADD", "CONCEPT_BLACKLIST_REMOVE", "SUGGESTED_CONCEPT_CREATE" ], "category" : "WEBHOOK" }