This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

THIS FORUM IS NOT FOR "What module..." or module support questions-- it's for module development and code related questions.

The module development and code questions forum is intended to aid those who are developing modules or writing code for Drupal.

Please note that this forum is also not intended for "Is there a module that does..." or "I need help with module x..." questions. It's also not a place to ask developers to write your code for you. Please respect this.

Please do not post general discussions intended to target module developers. If the question you have isn't specifically related to writing a drupal module, please post it in a more appropriate forum.

  • If you you have drupal installed already and are seeking a module that does a specific task, have a question about a specific module and what it does or if it will fit your use case, please place your questions in the Post installation forum.
  • If you have a problem or question about a specific module, you should create an issue in the module's issue queue (after checking for an existing issue first).
  • If you don't have drupal installed yet, please place your questions in the Before you start forum.

Rate limit (Drupal 11)

I have created an API endpoint in Drupal by configuring a View to fetch audit logs (Drupal 11).

By default, Drupal these APIs do not have built-in rate limiting. In such cases, is rate limiting expected to be configured entirely by the customer and how we can configure these rate limits?

Additionally, is there any documented threshold at which Drupal performance may begin to degrade under high API request volume?

Could you please share any official guidance or best practices regarding rate limiting and performance considerations for Drupal APIs?

why 'drupal/es_filter_analyser-es_filter_analyser'

Sorry for the subject, but I don't how abstract the subject.

First, I made a mistake: I developed a module called “es_filter_analyser” (with classes, namespace, injection, etc.) and when I uploaded it to Drupal.org, I made a typo and it ended up with the machine_name “es_filter_analyse.”

It took me two months to realize my mistake. 

So this morning, I tried to create a new module on drupal.org correctly named “es_filter_analyser,” and I pushed the ISO code to it (modifying the repository in .git/config).

Loading Amazon Creator API SDK into module

SDK: https://affiliate-program.amazon.com/creatorsapi/docs/en-us/get-started/...

I work on porting this contrib: https://www.drupal.org/project/amazon_pa

  • Amazon has an official SDK for its api. 
  • I loaded the sdk into my module and it works so far.
  • The SDK uses own stuff installed by composer

Loading is simple:

How to add a custom route tag to a Views REST API endpoint for rate_limits module

I have created a view (API endpoint) to fetch logs via an API. Now, I want to configure a rate limit for this API.

For this, I followed the Drupal documentation: https://www.drupal.org/project/rate_limits and downloaded the rate_limits module (https://www.drupal.org/project/rate_limits/releases/2.0.2).

Tagged routes

Tagged routes - This module is for Drupal 8/9.
Is there anything like this module for Drupal 11 or how can we add tags to api routes in Drupal 11?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions