Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change in Drupal API Catalog endpoint #16

Closed
cnovak opened this issue Jun 1, 2020 · 3 comments
Closed

Change in Drupal API Catalog endpoint #16

cnovak opened this issue Jun 1, 2020 · 3 comments
Assignees

Comments

@cnovak
Copy link

cnovak commented Jun 1, 2020

We are planning a 2.0 release of Drupal API Catalog module which changes the custom Drupal entity "APIDoc" into a Node type instead.

This will unfortunately change the endpoint that needs to be called from the Maven plugin project. The Apigee API Catalog Drupal module will now have two major versions:

  • 1.x: Same endpoint as before for making CRUD calls for API Doc entity.
  • 2.x: New endpoint for making CRUD calls for API Doc entity.

This issue is to have a way to make calls to the correct endpoint depending on which version you are using.

@arlina-espinoza
Copy link

Hi team,

The change for the 2.x version is that the endpoint changes from /jsonapi/apidoc/apidoc to /jsonapi/node/apidoc. The field names had to change too:

  • name to title
  • description to body
  • spec_file_source to field_apidoc_spec_file_source
  • file_link to field_apidoc_file_link

@arlina-espinoza
Copy link

Here's a link to a postman collection for version 2.x of the module:
https://documenter.getpostman.com/view/550470/S1a1aoeF?version=2c9ff08d-6e80-4fb9-b303-553f40e0e790

@ssvaidyanathan ssvaidyanathan self-assigned this Jun 17, 2020
ssvaidyanathan added a commit that referenced this issue Jun 19, 2020
ssvaidyanathan added a commit that referenced this issue Jun 19, 2020
@ssvaidyanathan ssvaidyanathan mentioned this issue Jun 19, 2020
@ssvaidyanathan
Copy link
Collaborator

ssvaidyanathan commented Jul 16, 2020

Available in v2.1.0
Refer to the samples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants