Configure External Entities 3.x For Drupal.org Rest API

Implementation

  1. Install External Entities 3.x dev.
    Dev release has the latest fixes.
  2. Create a new Drupal.org modules External Entity type.

Storage client settings

Storage client: REST
Endpoint URL: https://www.drupal.org/api-d7/node
The main endpoint provides full entities in a list: true
Endpoint URL for a single entity: https://www.drupal.org/api-d7/node/{id}
Endpoint URL to get the total number of available entities or pages: 41213 (Manually entered from last page number)
Type of total number of items returned: Number of pages
Endpoint data encoding format: JSON

Image
External Entities Drupal.org storage client settings

JSONPath leading to the list of entities: $.list.*

Image
External Entities Drupal.org module data path settings

Default number of items: 50
Page parameter: page
Page parameter type: Page number

Image
External Entities Drupal.org module pager settings

Additional HTTP headers: Accept: application/json

Image
External Entities Drupal.org module HTTP protocol settings

List parameters: type=project_module
Add list parameters to: query string (default)
 

Image
External Entities Drupal.org additional parameters

File mapping settings

Field mapper: Simple

Use Field name for exact matches to json keys.

Use Simple mapping for nested values.

Use Constant to provide the full_html format for formatted text values.

Image
External Entities Drupal.org module file mapping settings