• Appending ‘?include=author’ to an endpoint shows the ‘author’ object, but I am just wanting to retrieve the author name from that object.

    {
    0: {
    id: 15,
    author: {
    id: 1,
    slug: "admin",
    name: "admin",
    first_name: "",
    last_name: "",
    nickname: "admin",
    url: "",
    description: ""
    }
    },
    status: "ok"
    }

    Does anyone know how to:
    1. Use the ?include arg to get just the author -> name property?

    http://wordpress.org/plugins/json-api/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to retrieve just the authors name with `include` query string’ is closed to new replies.