๐Ÿ‡บ๐Ÿ‡ธUnited States @camchandler98

Account created on 25 January 2022, over 2 years ago
#

Recent comments

๐Ÿ‡บ๐Ÿ‡ธUnited States camchandler98

I thought adding a display for the slider would be just quickly editing the twig template but boy was I wrong. Long story short I ended up twig debugging and saw that the range input is still using the default input template . I think I know what to do now though so I will work on it.

๐Ÿ‡บ๐Ÿ‡ธUnited States camchandler98

Ran the previously failing test for #19 locally and it passed, reran the tests here and they passed this time .

๐Ÿ‡บ๐Ÿ‡ธUnited States camchandler98

@longwave added the preventDefault function and event listener

๐Ÿ‡บ๐Ÿ‡ธUnited States camchandler98

Hi I installed a fresh instance of Drupal 9.5 and my contact forms also do not have the option to manage permissions so I also can't reproduce the error. Is there maybe something else installed/enabled that shows 'manage permissions' as an option?

๐Ÿ‡บ๐Ÿ‡ธUnited States camchandler98

This is the output I got doing a GET request for all articles.
Tested with a local drupal instance using Postman, Google Chrome, and cURL

{"jsonapi":{"version":"1.0","meta":{"links":{"self":{"href":"http:\/\/jsonapi.org\/format\/1.0\/"}}},"parsed":true},"data":[{"type":"node--article","id":"a3250a45-5069-4790-96b0-279ddd3bcf73","links":{"self":{"href":"https:\/\/drupal-api.ddev.site\/jsonapi\/node\/article\/a3250a45-5069-4790-96b0-279ddd3bcf73?resourceVersion=id%3A16"}},"drupal_internal__nid":5,"drupal_internal__vid":16,"langcode":"en","revision_timestamp":"2023-02-07T23:47:40+00:00","revision_log":null,"status":true,"title":"test 1","created":"2023-02-07T23:47:28+00:00","changed":"2023-02-07T23:47:40+00:00","promote":true,"sticky":false,"default_langcode":true,"revision_translation_affected":true,"path":{"alias":null,"pid":null,"langcode":"en"},"body":{"value":"\u003Cp\u003Etest 1\u003C\/p\u003E","format":"basic_html","processed":"\u003Cp\u003Etest 1\u003C\/p\u003E","summary":""},"comment":{"status":2,"cid":0,"last_comment_timestamp":1675813660,"last_comment_name":null,"last_comment_uid":1,"comment_count":0},"node_type":{"type":"node_type--node_type","id":"18971097-f4d9-44c8-a643-8546d9d09652","meta":{"drupal_internal__target_id":"article"}},"revision_uid":{"type":"user--user","id":"2983dfbb-a8bf-460f-85cc-ceac0d1e248a","meta":{"drupal_internal__target_id":1}},"uid":{"type":"user--user","id":"2983dfbb-a8bf-460f-85cc-ceac0d1e248a","meta":{"drupal_internal__target_id":1}},"field_image":{"data":null,"links":{"related":{"href":"https:\/\/drupal-api.ddev.site\/jsonapi\/node\/article\/a3250a45-5069-4790-96b0-279ddd3bcf73\/field_image?resourceVersion=id%3A16"},"self":{"href":"https:\/\/drupal-api.ddev.site\/jsonapi\/node\/article\/a3250a45-5069-4790-96b0-279ddd3bcf73\/relationships\/field_image?resourceVersion=id%3A16"}}},"field_tags":{"data":[],"links":{"related":{"href":"https:\/\/drupal-api.ddev.site\/jsonapi\/node\/article\/a3250a45-5069-4790-96b0-279ddd3bcf73\/field_tags?resourceVersion=id%3A16"},"self":{"href":"https:\/\/drupal-api.ddev.site\/jsonapi\/node\/article\/a3250a45-5069-4790-96b0-279ddd3bcf73\/relationships\/field_tags?resourceVersion=id%3A16"}}}},{"type":"node--article","id":"95c0f6c6-7334-414c-b94a-9cbd13234ebd","links":{"self":{"href":"https:\/\/drupal-api.ddev.site\/jsonapi\/node\/article\/95c0f6c6-7334-414c-b94a-9cbd13234ebd?resourceVersion=id%3A17"}},"drupal_internal__nid":6,"drupal_internal__vid":17,"langcode":"en","revision_timestamp":"2023-02-07T23:47:59+00:00","revision_log":null,"status":true,"title":"test 2","created":"2023-02-07T23:47:45+00:00","changed":"2023-02-07T23:47:59+00:00","promote":true,"sticky":false,"default_langcode":true,"revision_translation_affected":true,"path":{"alias":null,"pid":null,"langcode":"en"},"body":{"value":"\u003Cp\u003Etest 2\u003C\/p\u003E","format":"basic_html","processed":"\u003Cp\u003Etest 2\u003C\/p\u003E","summary":""},"comment":{"status":2,"cid":0,"last_comment_timestamp":1675813679,"last_comment_name":null,"last_comment_uid":1,"comment_count":0},"node_type":{"type":"node_type--node_type","id":"18971097-f4d9-44c8-a643-8546d9d09652","meta":{"drupal_internal__target_id":"article"}},"revision_uid":{"type":"user--user","id":"2983dfbb-a8bf-460f-85cc-ceac0d1e248a","meta":{"drupal_internal__target_id":1}},"uid":{"type":"user--user","id":"2983dfbb-a8bf-460f-85cc-ceac0d1e248a","meta":{"drupal_internal__target_id":1}},"field_image":{"data":null,"links":{"related":{"href":"https:\/\/drupal-api.ddev.site\/jsonapi\/node\/article\/95c0f6c6-7334-414c-b94a-9cbd13234ebd\/field_image?resourceVersion=id%3A17"},"self":{"href":"https:\/\/drupal-api.ddev.site\/jsonapi\/node\/article\/95c0f6c6-7334-414c-b94a-9cbd13234ebd\/relationships\/field_image?resourceVersion=id%3A17"}}},"field_tags":{"data":[],"links":{"related":{"href":"https:\/\/drupal-api.ddev.site\/jsonapi\/node\/article\/95c0f6c6-7334-414c-b94a-9cbd13234ebd\/field_tags?resourceVersion=id%3A17"},"self":{"href":"https:\/\/drupal-api.ddev.site\/jsonapi\/node\/article\/95c0f6c6-7334-414c-b94a-9cbd13234ebd\/relationships\/field_tags?resourceVersion=id%3A17"}}}}],"links":{"self":{"href":"https:\/\/drupal-api.ddev.site\/jsonapi\/node\/article"}}}

I think the trouble getting the correct about may be something with your configuration.

As for getting an individual resource JSONAPI expects the format http://example.com/jsonapi/{entity_type_id}/{bundle_id}/{entity_uuid} where entity_uuid is the uuid not the nid. To get a resource by nid try this format http://example.com/jsonapi/node/article?filter[drupal_internal__nid]=5

Production build 0.69.0 2024