Skip to content

Views: no JSON data for path and link #11

@olafgrabienski

Description

@olafgrabienski

Some 'fields' of a content view don't show up in the JSON data.

Steps to reproduce:

  1. Build a Content view which displays fields.
  2. Add the fields Title, Path, and Link.
  3. Save the View, enable it in the Headless settings, and have a look at the respective API page.

Actual behavior:

Title shows up, Path nor Link don't. Here's an example result:

{
  "results": [
    {
      "node_title": "Your first post!",
      "nid": "1"
    }
  ],
  "count": 1
}

Expected behavior:

Path and Link show up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions