• I’ve read docs on your support website and I have found Schemas but nothing that enables me catching data from my own database and populate Sportspress one. In depth I’m now focused on meta data related to venues. I’m able to create a new venue (or a new league or a new season) using API, but I cannot add optional (and for my application more important) data such as address, latitude and longitude.

    My GET request is: https://<wp.site.address>/wp-json/sportspress/v2/venues/34
    And response is:
    {
    "id": 34,
    "count": 2,
    "description": "Bentleigh",
    "link": "https://<wp.site.address>/venue/bentleigh/";,
    "name": "Bentleigh",
    "slug": "bentleigh",
    "taxonomy": "sp_venue",
    "parent": 0,
    "meta": [],
    "_links": {
    "self": [
    {
    "href": "https://<wp.site.address>/wp-json/wp/v2/venues/34";
    }
    ],
    "collection": [
    {
    "href": "https://<wp.site.address>/wp-json/wp/v2/venues";
    }
    ],
    "about": [
    {
    "href": "https://<wp.site.address>/wp-json/wp/v2/taxonomies/sp_venue";
    }
    ],
    "wp:post_type": [
    {
    "href": "https://<wp.site.address>/wp-json/wp/v2/events?venues=34";
    },
    {
    "href": "https://<wp.site.address>/wp-json/wp/v2/calendars?venues=34";
    },
    {
    "href": "https://<wp.site.address>/wp-json/wp/v2/teams?venues=34";
    }
    ],
    "curies": [
    {
    "name": "wp",
    "href": "api.w.org/{rel}";,
    "templated": true
    }
    ]
    }
    }

    I cannot find the additional data displayed into the admin console using API and I don’t know how the add those data using API with POST predicate.

    Someone can address me on how to interact with the whole sportspress database using APIs?

The topic ‘WP REST API Doc’ is closed to new replies.