logo

Extra Block Types (EBT) - New Layout Builder experience❗

Extra Block Types (EBT) - styled, customizable block types: Slideshows, Tabs, Cards, Accordions and many others. Built-in settings for background, DOM Box, javascript plugins. Experience the future of layout building today.

Demo EBT modules Download EBT modules

❗Extra Paragraph Types (EPT) - New Paragraphs experience

Extra Paragraph Types (EPT) - analogical paragraph based set of modules.

Demo EPT modules Download EPT modules

Scroll

JSON:API सर्वर एंडपॉइंट्स डॉक्यूमेंटेशन

06/09/2025, by Ivan

JSON Drop API Documentation

JSON:API सर्वर एंडपॉइंट्स डॉक्यूमेंटेशन

फ़िल्टर

Tag ID द्वारा आर्टिकल फ़िल्टर करें

GET

{{host}}/jsonapi/node/article?include=field_image,field_tags&sort=-created&filter[field_tags.meta.drupal_internal__tid]=2

क्वेरी पैरामीटर्स:

पैरामीटर मान
include field_image,field_tags
sort -created
filter[field_tags.meta.drupal_internal__tid] 2

Tag UUID द्वारा आर्टिकल फ़िल्टर करें

GET

{{host}}/jsonapi/node/article?include=field_image,field_tags&sort=-created&filter[field_tags.id]=f203b178-3672-4312-b974-4fb5ea8b35cb

क्वेरी पैरामीटर्स:

पैरामीटर मान
include field_image,field_tags
sort -created
filter[field_tags.id] f203b178-3672-4312-b974-4fb5ea8b35cb

शीर्षक द्वारा आर्टिकल फ़िल्टर करें

GET

{{host}}/jsonapi/node/article?filter[title]=Drupal CMS

क्वेरी पैरामीटर्स:

पैरामीटर मान
filter[title] Drupal CMS

शीर्षक द्वारा आर्टिकल फ़िल्टर करें (आंशिक मिलान)

GET

{{host}}/jsonapi/node/article?filter[title][value]=Drupal&filter[title][operator]=CONTAINS

क्वेरी पैरामीटर्स:

पैरामीटर मान
filter[title][value] Drupal
filter[title][operator] CONTAINS

प्रकाशित स्थिति द्वारा आर्टिकल फ़िल्टर करें

GET

{{host}}/jsonapi/node/article?filter[status]=1

क्वेरी पैरामीटर्स:

पैरामीटर मान
filter[status] 1

1 जनवरी 2024 के बाद बनाए गए आर्टिकल

GET

{{host}}/jsonapi/node/article?filter[created][value]=2024-01-01T00:00:00&filter[created][operator]=>=

क्वेरी पैरामीटर्स:

पैरामीटर मान
filter[created][value] 2024-01-01T00:00:00
filter[created][operator] >=

पेजिनेशन

GET

{{host}}/jsonapi/node/article?page[limit]=5&page[offset]=0

क्वेरी पैरामीटर्स:

पैरामीटर मान
page[limit] 5
page[offset] 0

फ़िल्टर को संयोजित करें (AND लॉजिक)

GET

{{host}}/jsonapi/node/article?filter[status]=1&filter[field_tags.meta.drupal_internal__tid]=5

क्वेरी पैरामीटर्स:

पैरामीटर मान
filter[status] 1
filter[field_tags.meta.drupal_internal__tid] 5

टैग्स

टैग्स प्राप्त करें

GET

{{host}}/jsonapi/taxonomy_term/tags?sort=name&fields[taxonomy_term--tags]=name,drupal_internal__tid

क्वेरी पैरामीटर्स:

पैरामीटर मान
sort name
fields[taxonomy_term--tags] name,drupal_internal__tid

आर्टिकल्स

आर्टिकल सूची

GET

{{host}}/jsonapi/node/article?include=field_image,field_tags&sort=-created

क्वेरी पैरामीटर्स:

पैरामीटर मान
include field_image,field_tags
sort -created

आर्टिकल्स इमेज

GET

{{host}}/jsonapi/node/article/b26c80d2-155c-4c7e-9135-5a4011e2ae17/field_image?resourceVersion=id%3A5

क्वेरी पैरामीटर्स:

पैरामीटर मान
resourceVersion id:5

मेनू

मुख्य मेनू

GET

{{host}}/jsonapi/menu_items/main

पेजेज

ID द्वारा नोड पेज

GET

{{host}}/jsonapi/node/page?filter[nid][value]=4

क्वेरी पैरामीटर्स:

पैरामीटर मान
filter[nid][value] 4

UUID द्वारा नोड पेज

GET

{{host}}/jsonapi/node/page/8b53db13-613e-45c4-80d7-dc81eba75f11

वेबफॉर्म

वेबफॉर्म

GET

{{host}}/webform/contact

हेडर:

कुंजी मान
content-type application/json

वेबफॉर्म REST

POST

{{host}}/webform_rest/submit

हेडर:

कुंजी मान
Content-Type application/json

रिक्वेस्ट बॉडी:

{
    "webform_id": "contact",
    "name": "Ivan Abramenko",
    "subject": "Webform testing submission",
    "email": "levmyshkin89@gmail.com",
    "message": "Webform testing submission"
}

प्रमाणीकरण

API Key प्रमाणीकरण

सभी एंडपॉइंट्स में निम्नलिखित हेडर का उपयोग करके API key प्रमाणीकरण आवश्यक है:

हेडर मान
X-API-Key {{token}}