Description |
---|
Returns a list notification setting which has been configured for the given project. |
URL: /PoolParty/api/notifications/{project}/settings
Supported Methods |
---|
GET |
application/x-www-form-urlencoded
Parameter | Type | Required | Description |
---|---|---|---|
category | NotificationCategory | false | A category value. WEBHOOK | PUSH | EMAIL | LOGGING |
trigger | NotificationTrigger | false | A trigger value. WORKFLOW_STATE_CHANGE | CONCEPT_CREATE | CONCEPT_DELETE | CONCEPT_VALUE_CHANGE | CONCEPTSCHEME_CREATE | CONCEPTSCHEME_DELETE | CONCEPTSCHEME_VALUE_CHANGE | SKOSXL_CREATE | SKOSXL_DELETE | SKOSXL_VALUE_CHANGE | SUGGESTED_CONCEPT_CREATE | CONCEPT_BLACKLIST_ADD | CONCEPT_BLACKLIST_REMOVE | CORPUS_ANALYSIS_STATUS |
interval | NotificationInterval | false | An interval value. IMMEDIATELY | QUARTERLY | HOURLY | DAILY |
enabled | Boolean | false | An enabled value. |
smcApiConfig | IRI | false | An smcApiConfig value. |
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"
}
Content-Type: application/json
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"
}