Hi,

The README.md is out of date since, none of these work:

  • /node/article/1?_format=api_json
  • /api/article/1?_format=api_json
  • /api/node/article/1?_format=api_json

Instead I get messoges like:

{
message: "No route found for "GET /api/article/1""
}

I would also suggest putting the necessary routes and instructions on the project page.

The above was tested using the most recent jsonapi dev download with all modules (serializiation, rest web services, and even restui) installed on a clean updated pantheon d8 build (8.1.7) AND a simplytest.me spin up.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dremy created an issue. See original summary.

dremy’s picture

Title: README instructs using incorrect paths » README instructs using incorrect routes
dremy’s picture

Please find the attached patch.

One question, is no configuration actually correct? OR, is someone required to go to /admin/people/permissions and provide permissions for "Access GET on Content resource" under the RESTful Web Services module?

Thanks!

dremy’s picture

Status: Active » Needs review

  • e0ipso committed e0e6fbf on 8.x-1.x authored by dremy
    Issue #2771649 by dremy: Update README with latest information
    
e0ipso’s picture

Status: Needs review » Fixed

Thanks!

e0ipso’s picture

Title: README instructs using incorrect routes » [BUGFIX] Update README with latest information

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.