import{r as l,p as c,q as h,w as s,z as e,t as n,R as t}from"./vendor.8ed37afc.js";const d={class:"markdown-body"},p=e("div",{class:"two-up"},[e("div",{class:"left"},[e("blockquote",null,[e("p",null,"Notifications allow you to send/receive messages to/from other users of the platform.")])]),e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#the-notification-object"},"The Notification Object")]),e("li",null,[e("a",{href:"#list-notifications"},"List Notifications")]),e("li",null,[e("a",{href:"#retrieve-a-notification"},"Retrieve a notification")]),e("li",null,[e("a",{href:"#create-a-notification"},"Create a Notification")]),e("li",null,[e("a",{href:"#create-multiple-notifications"},"Create Multiple Notifications")]),e("li",null,[e("a",{href:"#update-a-notification"},"Update a Notification")]),e("li",null,[e("a",{href:"#update-multiple-notifications"},"Update Multiple Notifications")]),e("li",null,[e("a",{href:"#delete-a-notification"},"Delete a Notification")]),e("li",null,[e("a",{href:"#delete-multiple-notifications"},"Delete Multiple Notifications")])])])])])],-1),u=e("hr",null,null,-1),f=e("h2",{id:"the-notification-object"},[t("The Notification Object "),e("a",{class:"header-anchor",href:"#the-notification-object"},"#")],-1),_=e("div",{class:"two-up"},[e("div",{class:"left"},[e("div",{class:"definitions"},[e("p",null,[e("code",null,"id"),t(),e("strong",null,"integer"),e("br"),t(" Primary key of the revision.")]),e("p",null,[e("code",null,"timestamp"),t(),e("strong",null,"string"),e("br"),t(" Timestamp in ISO8601 when the notification was created.")]),e("p",null,[e("code",null,"status"),t(),e("strong",null,"string"),e("br"),t(" Current status of the notification. One of \u201Cinbox\u201D, \u201Carchived\u201D.")]),e("p",null,[e("code",null,"recipient"),t(),e("strong",null,"many-to-one"),e("br"),t(" User that received the notification.")]),e("p",null,[e("code",null,"sender"),t(),e("strong",null,"many-to-one"),e("br"),t(" User that sent the notification, if any.")]),e("p",null,[e("code",null,"subject"),t(),e("strong",null,"string"),e("br"),t(" Subject line of the message.")]),e("p",null,[e("code",null,"message"),t(),e("strong",null,"string"),e("br"),t(" Notification\u2019s message content. Will be sent in the email.")]),e("p",null,[e("code",null,"collection"),t(),e("strong",null,"string"),e("br"),t(" Collection this notification references.")]),e("p",null,[e("code",null,"item"),t(),e("strong",null,"string"),e("br"),t(" Primary key of the item this notification references.")])])]),e("div",{class:"right"},[e("pre",null,[e("code",{class:"language-json"},[t(`{
	`),e("span",{class:"hljs-attr"},'"id"'),t(": "),e("span",{class:"hljs-number"},"2"),t(`,
	`),e("span",{class:"hljs-attr"},'"timestamp"'),t(": "),e("span",{class:"hljs-string"},'"2021-11-24T13:57:35Z"'),t(`,
	`),e("span",{class:"hljs-attr"},'"status"'),t(": "),e("span",{class:"hljs-string"},'"inbox"'),t(`,
	`),e("span",{class:"hljs-attr"},'"recipient"'),t(": "),e("span",{class:"hljs-string"},'"3EE34828-B43C-4FB2-A721-5151579B08EA"'),t(`,
	`),e("span",{class:"hljs-attr"},'"sender"'),t(": "),e("span",{class:"hljs-string"},'"497a495e-5529-4e46-8feb-2f35e9b85601"'),t(`,
	`),e("span",{class:"hljs-attr"},'"subject"'),t(": "),e("span",{class:"hljs-string"},'"You were mentioned in articles"'),t(`,
	`),e("span",{class:"hljs-attr"},'"message"'),t(": "),e("span",{class:"hljs-string"},'"\\nHello admin@example.com,\\n\\rijk@directus.io has mentioned you in a comment:\\n\\n> Hello <em>admin@example.com</em>!\\n\\n<a href=\\"http://localhost:8080/admin/content/articles/1\\">Click here to view.</a>\\n"'),t(`,
	`),e("span",{class:"hljs-attr"},'"collection"'),t(": "),e("span",{class:"hljs-string"},'"articles"'),t(`,
	`),e("span",{class:"hljs-attr"},'"item"'),t(": "),e("span",{class:"hljs-string"},'"1"'),t(`
}
`)])])])],-1),m=e("hr",null,null,-1),g=e("h2",{id:"list-notifications"},[t("List Notifications "),e("a",{class:"header-anchor",href:"#list-notifications"},"#")],-1),j=e("p",null,"List all notifications that exist in Directus.",-1),y={class:"two-up"},b={class:"left"},q=e("h3",{id:"query-parameters"},[t("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters"},"#")],-1),x=t("Supports all "),v=t("global query parameters"),E=t("."),w=e("h3",{id:"returns"},[t("Returns "),e("a",{class:"header-anchor",href:"#returns"},"#")],-1),T=t("An array of up to "),k=t("limit"),R=t(),P=e("a",{href:"#the-notification-object"},"notification objects",-1),S=t(". If no items are available, data will be an empty array."),A={class:"right"},N=e("h3",{id:"rest-api"},[t("REST API "),e("a",{class:"header-anchor",href:"#rest-api"},"#")],-1),C=e("pre",null,[e("code",null,`GET /notifications
SEARCH /notifications
`)],-1),D=t("Learn more about SEARCH ->"),L=e("h3",{id:"graphql"},[t("GraphQL "),e("a",{class:"header-anchor",href:"#graphql"},"#")],-1),O=e("pre",null,[e("code",null,`POST /graphql/system
`)],-1),Q=e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Query"),t(` {
	notifications: [directus_notifications]
}
`)])],-1),I=e("h5",{id:"example"},[t("Example "),e("a",{class:"header-anchor",href:"#example"},"#")],-1),H=e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"query"),t(` {
	notifications {
		id
		recipient
		subject
	}
}
`)])],-1),M=e("hr",null,null,-1),B=e("h2",{id:"retrieve-a-notification"},[t("Retrieve a notification "),e("a",{class:"header-anchor",href:"#retrieve-a-notification"},"#")],-1),G=e("p",null,"List an existing notification by primary key.",-1),U={class:"two-up"},Y={class:"left"},V=e("h3",{id:"query-parameters-2"},[t("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-2"},"#")],-1),W=t("Supports all "),z=t("global query parameters"),F=t("."),Z=e("h3",{id:"returns-2"},[t("Returns "),e("a",{class:"header-anchor",href:"#returns-2"},"#")],-1),J=e("p",null,[t("Returns the requested "),e("a",{href:"#the-notification-object"},"notification object"),t(".")],-1),K=e("div",{class:"right"},[e("h3",{id:"rest-api-2"},[t("REST API "),e("a",{class:"header-anchor",href:"#rest-api-2"},"#")]),e("pre",null,[e("code",null,`GET /notifications/:id
`)]),e("h5",{id:"example-2"},[t("Example "),e("a",{class:"header-anchor",href:"#example-2"},"#")]),e("pre",null,[e("code",null,`GET /notifications/42
`)]),e("h3",{id:"graphql-2"},[t("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-2"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Query"),t(` {
	notifications_by_id(id:`),e("span",{class:"hljs-literal"}," ID"),t(`!): directus_notifications
}
`)])]),e("h5",{id:"example-3"},[t("Example "),e("a",{class:"header-anchor",href:"#example-3"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"query"),t(` {
	notifications_by_id(id: `),e("span",{class:"hljs-number"},"42"),t(`) {
		id
		sender
		recipient
		message
		subject
	}
}
`)])])],-1),X=e("hr",null,null,-1),$=e("h2",{id:"create-a-notification"},[t("Create a Notification "),e("a",{class:"header-anchor",href:"#create-a-notification"},"#")],-1),ee=e("p",null,"Create a new notification.",-1),te={class:"two-up"},se={class:"left"},ae=e("h3",{id:"query-parameters-3"},[t("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-3"},"#")],-1),ne=t("Supports all "),ie=t("global query parameters"),le=t("."),oe=e("h3",{id:"request-body"},[t("Request Body "),e("a",{class:"header-anchor",href:"#request-body"},"#")],-1),re=e("p",null,[t("A partial "),e("a",{href:"#the-notification-object"},"notification object"),t(".")],-1),ce=e("h3",{id:"returns-3"},[t("Returns "),e("a",{class:"header-anchor",href:"#returns-3"},"#")],-1),he=e("p",null,[t("Returns the "),e("a",{href:"#the-notification-object"},"notification object"),t(" for the created notification.")],-1),de=e("div",{class:"right"},[e("h3",{id:"rest-api-3"},[t("REST API "),e("a",{class:"header-anchor",href:"#rest-api-3"},"#")]),e("pre",null,[e("code",null,`POST /notifications
`)]),e("h5",{id:"example-4"},[t("Example "),e("a",{class:"header-anchor",href:"#example-4"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// POST /notifications"),t(`

{
	`),e("span",{class:"hljs-attr"},'"recipient"'),t(": "),e("span",{class:"hljs-string"},'"410b5772-e63f-4ae6-9ea2-39c3a31bd6ca"'),t(`,
	`),e("span",{class:"hljs-attr"},'"subject"'),t(": "),e("span",{class:"hljs-string"},'"Hi there!"'),t(`
}
`)])]),e("h3",{id:"graphql-3"},[t("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-3"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),t(` {
	create_notifications_item(data: create_directus_notifications_input!): directus_notifications
}
`)])]),e("h5",{id:"example-5"},[t("Example "),e("a",{class:"header-anchor",href:"#example-5"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),t(` {
	create_notifications_item(data: { recipient: `),e("span",{class:"hljs-string"},'"410b5772-e63f-4ae6-9ea2-39c3a31bd6ca"'),t(", subject: "),e("span",{class:"hljs-string"},'"Hi there!"'),t(` }) {
		id
		recipient
	}
}
`)])])],-1),pe=e("hr",null,null,-1),ue=e("h2",{id:"create-multiple-notifications"},[t("Create Multiple Notifications "),e("a",{class:"header-anchor",href:"#create-multiple-notifications"},"#")],-1),fe=e("p",null,"Create multiple new notifications.",-1),_e={class:"two-up"},me={class:"left"},ge=e("h3",{id:"query-parameters-4"},[t("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-4"},"#")],-1),je=t("Supports all "),ye=t("global query parameters"),be=t("."),qe=e("h3",{id:"request-body-2"},[t("Request Body "),e("a",{class:"header-anchor",href:"#request-body-2"},"#")],-1),xe=e("p",null,[t("An array of partial "),e("a",{href:"#the-notification-object"},"notification objects"),t(".")],-1),ve=e("h3",{id:"returns-4"},[t("Returns "),e("a",{class:"header-anchor",href:"#returns-4"},"#")],-1),Ee=e("p",null,[t("Returns the "),e("a",{href:"#the-notification-object"},"notification object"),t(" for the created notification.")],-1),we=e("div",{class:"right"},[e("h3",{id:"rest-api-4"},[t("REST API "),e("a",{class:"header-anchor",href:"#rest-api-4"},"#")]),e("pre",null,[e("code",null,`POST /notifications
`)]),e("h5",{id:"example-6"},[t("Example "),e("a",{class:"header-anchor",href:"#example-6"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// POST /notifications"),t(`

[
	{
		`),e("span",{class:"hljs-attr"},'"collection"'),t(": "),e("span",{class:"hljs-string"},'"directus_files"'),t(`,
		`),e("span",{class:"hljs-attr"},'"recipient"'),t(": "),e("span",{class:"hljs-string"},'"410b5772-e63f-4ae6-9ea2-39c3a31bd6ca"'),t(`,
		`),e("span",{class:"hljs-attr"},'"message"'),t(": "),e("span",{class:"hljs-string"},'"Hi there! You should check out these files"'),t(`
	},
	{
		`),e("span",{class:"hljs-attr"},'"collection"'),t(": "),e("span",{class:"hljs-string"},'"articles"'),t(`,
		`),e("span",{class:"hljs-attr"},'"recipient"'),t(": "),e("span",{class:"hljs-string"},'"410b5772-e63f-4ae6-9ea2-39c3a31bd6ca"'),t(`,
		`),e("span",{class:"hljs-attr"},'"message"'),t(": "),e("span",{class:"hljs-string"},'"Hi there! You should check out these articles"'),t(`
	}
]
`)])]),e("h3",{id:"graphql-4"},[t("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-4"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),t(` {
	create_notifications_items(data: [create_directus_notifications_input!]!): [directus_notifications]
}
`)])]),e("h5",{id:"example-7"},[t("Example "),e("a",{class:"header-anchor",href:"#example-7"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),t(` {
	create_notifications_items(
		data: [
			{
				collection: `),e("span",{class:"hljs-string"},'"directus_files"'),t(`
				recipient: `),e("span",{class:"hljs-string"},'"410b5772-e63f-4ae6-9ea2-39c3a31bd6ca"'),t(`
				message: `),e("span",{class:"hljs-string"},'"Hi there! You should check out these files"'),t(`
			}
			{
				collection: `),e("span",{class:"hljs-string"},'"articles"'),t(`
				recipient: `),e("span",{class:"hljs-string"},'"410b5772-e63f-4ae6-9ea2-39c3a31bd6ca"'),t(`
				message: `),e("span",{class:"hljs-string"},'"Hi there! You should check out these articles"'),t(`
			}
		]
	) {
		id
		recipient
	}
}
`)])])],-1),Te=e("hr",null,null,-1),ke=e("h2",{id:"update-a-notification"},[t("Update a Notification "),e("a",{class:"header-anchor",href:"#update-a-notification"},"#")],-1),Re=e("p",null,"Update an existing notification.",-1),Pe=e("div",{class:"tip hint"},[e("div",{class:"hint-title"},"Email Notifications"),e("p",null,"Emails are only sent when the notification is created. Updated to an existing notification won\u2019t trigger a new notification email to be sent.")],-1),Se={class:"two-up"},Ae={class:"left"},Ne=e("h3",{id:"query-parameters-5"},[t("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-5"},"#")],-1),Ce=t("Supports all "),De=t("global query parameters"),Le=t("."),Oe=e("h3",{id:"request-body-3"},[t("Request Body "),e("a",{class:"header-anchor",href:"#request-body-3"},"#")],-1),Qe=e("p",null,[t("A partial "),e("a",{href:"#the-notification-object"},"notification object"),t(".")],-1),Ie=e("h3",{id:"returns-5"},[t("Returns "),e("a",{class:"header-anchor",href:"#returns-5"},"#")],-1),He=e("p",null,[t("Returns the "),e("a",{href:"#the-notification-object"},"notification object"),t(" for the updated notification.")],-1),Me=e("div",{class:"right"},[e("h3",{id:"rest-api-5"},[t("REST API "),e("a",{class:"header-anchor",href:"#rest-api-5"},"#")]),e("pre",null,[e("code",null,`PATCH /notifications/:id
`)]),e("h5",{id:"example-8"},[t("Example "),e("a",{class:"header-anchor",href:"#example-8"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// PATCH /notifications/34"),t(`

{
	`),e("span",{class:"hljs-attr"},'"message"'),t(": "),e("span",{class:"hljs-string"},'"This is my updated notification"'),t(`
}
`)])]),e("h3",{id:"graphql-5"},[t("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-5"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),t(` {
	update_notifications_item(id:`),e("span",{class:"hljs-literal"}," ID"),t(`!, data: update_directus_notifications_input): directus_notifications
}
`)])]),e("h5",{id:"example-9"},[t("Example "),e("a",{class:"header-anchor",href:"#example-9"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),t(` {
	update_notifications_item(id: `),e("span",{class:"hljs-number"},"32"),t(", data: { message: "),e("span",{class:"hljs-string"},'"This is my updated notification"'),t(` }) {
		id
		message
	}
}
`)])])],-1),Be=e("hr",null,null,-1),Ge=e("h2",{id:"update-multiple-notifications"},[t("Update Multiple Notifications "),e("a",{class:"header-anchor",href:"#update-multiple-notifications"},"#")],-1),Ue=e("p",null,"Update multiple existing notifications.",-1),Ye={class:"two-up"},Ve={class:"left"},We=e("h3",{id:"query-parameters-6"},[t("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters-6"},"#")],-1),ze=t("Supports all "),Fe=t("global query parameters"),Ze=t("."),Je=e("h3",{id:"request-body-4"},[t("Request Body "),e("a",{class:"header-anchor",href:"#request-body-4"},"#")],-1),Ke=e("div",{class:"definitions"},[e("p",null,[e("code",null,"keys"),t(),e("strong",null,"Required"),e("br"),t(" Array of primary keys of the notifications you\u2019d like to update.")]),e("p",null,[e("code",null,"data"),t(),e("strong",null,"Required"),e("br"),t(" Any of "),e("a",{href:"#the-notification-object"},"the notification object"),t("\u2019s properties.")])],-1),Xe=e("h3",{id:"returns-6"},[t("Returns "),e("a",{class:"header-anchor",href:"#returns-6"},"#")],-1),$e=e("p",null,[t("Returns the "),e("a",{href:"#the-notification-object"},"notification objects"),t(" for the updated notifications.")],-1),et=e("div",{class:"right"},[e("h3",{id:"rest-api-6"},[t("REST API "),e("a",{class:"header-anchor",href:"#rest-api-6"},"#")]),e("pre",null,[e("code",null,`PATCH /notifications
`)]),e("h5",{id:"example-10"},[t("Example "),e("a",{class:"header-anchor",href:"#example-10"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// PATCH /notifications"),t(`

{
	`),e("span",{class:"hljs-attr"},'"keys"'),t(": ["),e("span",{class:"hljs-number"},"15"),t(", "),e("span",{class:"hljs-number"},"64"),t(`],
	`),e("span",{class:"hljs-attr"},'"data"'),t(`: {
		`),e("span",{class:"hljs-attr"},'"message"'),t(": "),e("span",{class:"hljs-string"},'"Updated message!"'),t(`
	}
}
`)])]),e("h3",{id:"graphql-6"},[t("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-6"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),t(` {
	update_notifications_items(ids: `),e("span",{class:"hljs-literal"},"[ID"),t(`!]!, data: update_directus_notifications_input): [directus_notifications]
}
`)])]),e("h5",{id:"example-11"},[t("Example "),e("a",{class:"header-anchor",href:"#example-11"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),t(` {
	update_notifications_items(ids: [`),e("span",{class:"hljs-number"},"15"),t(", "),e("span",{class:"hljs-number"},"64"),t("], data: { message: "),e("span",{class:"hljs-string"},'"Updated message!"'),t(` }) {
		id
		recipient
	}
}
`)])])],-1),tt=e("hr",null,null,-1),st=e("h2",{id:"delete-a-notification"},[t("Delete a Notification "),e("a",{class:"header-anchor",href:"#delete-a-notification"},"#")],-1),at=e("p",null,"Delete an existing notification.",-1),nt=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"returns-7"},[t("Returns "),e("a",{class:"header-anchor",href:"#returns-7"},"#")]),e("p",null,"Empty body.")]),e("div",{class:"right"},[e("h3",{id:"rest-api-7"},[t("REST API "),e("a",{class:"header-anchor",href:"#rest-api-7"},"#")]),e("pre",null,[e("code",null,`DELETE /notifications/:id
`)]),e("h5",{id:"example-12"},[t("Example "),e("a",{class:"header-anchor",href:"#example-12"},"#")]),e("pre",null,[e("code",null,`DELETE /notifications/34
`)]),e("h3",{id:"graphql-7"},[t("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-7"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),t(` {
	delete_notifications_item(id:`),e("span",{class:"hljs-literal"}," ID"),t(`!): delete_one
}
`)])]),e("h5",{id:"example-13"},[t("Example "),e("a",{class:"header-anchor",href:"#example-13"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),t(` {
	delete_notifications_item(id: `),e("span",{class:"hljs-number"},"32"),t(`) {
		id
	}
}
`)])])])],-1),it=e("hr",null,null,-1),lt=e("h2",{id:"delete-multiple-notifications"},[t("Delete Multiple Notifications "),e("a",{class:"header-anchor",href:"#delete-multiple-notifications"},"#")],-1),ot=e("p",null,"Delete multiple existing notifications.",-1),rt=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"request-body-5"},[t("Request Body "),e("a",{class:"header-anchor",href:"#request-body-5"},"#")]),e("p",null,"An array of notification primary keys"),e("h3",{id:"returns-8"},[t("Returns "),e("a",{class:"header-anchor",href:"#returns-8"},"#")]),e("p",null,"Empty body.")]),e("div",{class:"right"},[e("h3",{id:"rest-api-8"},[t("REST API "),e("a",{class:"header-anchor",href:"#rest-api-8"},"#")]),e("pre",null,[e("code",null,`DELETE /notifications
`)]),e("h5",{id:"example-14"},[t("Example "),e("a",{class:"header-anchor",href:"#example-14"},"#")]),e("pre",null,[e("code",{class:"language-json"},[e("span",{class:"hljs-comment"},"// DELETE /notifications"),t(`
[`),e("span",{class:"hljs-number"},"15"),t(", "),e("span",{class:"hljs-number"},"251"),t(", "),e("span",{class:"hljs-number"},"810"),t(`]
`)])]),e("h3",{id:"graphql-8"},[t("GraphQL "),e("a",{class:"header-anchor",href:"#graphql-8"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Mutation"),t(` {
	delete_notifications_items(ids: `),e("span",{class:"hljs-literal"},"[ID"),t(`!]!): delete_many
}
`)])]),e("h5",{id:"example-15"},[t("Example "),e("a",{class:"header-anchor",href:"#example-15"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"mutation"),t(` {
	delete_notifications_items(ids: [`),e("span",{class:"hljs-number"},"15"),t(", "),e("span",{class:"hljs-number"},"251"),t(", "),e("span",{class:"hljs-number"},"810"),t(`]) {
		ids
	}
}
`)])])])],-1),ut={setup(ct,{expose:o}){const i={title:"Notifications",modularExtension:!1,pageClass:"page-reference"};return o({frontmatter:i}),(ht,dt)=>{const a=l("router-link"),r=l("DocsWrapper");return c(),h(r,{frontmatter:i},{default:s(()=>[e("div",d,[p,u,f,_,m,g,j,e("div",y,[e("div",b,[q,e("p",null,[x,n(a,{to:"/docs/reference/query"},{default:s(()=>[v]),_:1}),E]),w,e("p",null,[T,n(a,{to:"/docs/reference/query/#limit"},{default:s(()=>[k]),_:1}),R,P,S])]),e("div",A,[N,C,e("p",null,[n(a,{to:"/docs/reference/introduction/#search-http-method"},{default:s(()=>[D]),_:1})]),L,O,Q,I,H])]),M,B,G,e("div",U,[e("div",Y,[V,e("p",null,[W,n(a,{to:"/docs/reference/query"},{default:s(()=>[z]),_:1}),F]),Z,J]),K]),X,$,ee,e("div",te,[e("div",se,[ae,e("p",null,[ne,n(a,{to:"/docs/reference/query"},{default:s(()=>[ie]),_:1}),le]),oe,re,ce,he]),de]),pe,ue,fe,e("div",_e,[e("div",me,[ge,e("p",null,[je,n(a,{to:"/docs/reference/query"},{default:s(()=>[ye]),_:1}),be]),qe,xe,ve,Ee]),we]),Te,ke,Re,Pe,e("div",Se,[e("div",Ae,[Ne,e("p",null,[Ce,n(a,{to:"/docs/reference/query"},{default:s(()=>[De]),_:1}),Le]),Oe,Qe,Ie,He]),Me]),Be,Ge,Ue,e("div",Ye,[e("div",Ve,[We,e("p",null,[ze,n(a,{to:"/docs/reference/query"},{default:s(()=>[Fe]),_:1}),Ze]),Je,Ke,Xe,$e]),et]),tt,st,at,nt,it,lt,ot,rt])]),_:1})}}};export{ut as default};
