So with WordPress 4.7 the REST API endpoints will be merged into the core which I'm really looking forward to.
On setting up a test site with the 4.7 beta 4 installed, I wasn't able to find the endpoints that have been available through the REST API Plugin.
Looking at /wp-json
I don't see any endpoints either:
{
"name": "API Test",
"description": "Eine weitere WordPress-Seite",
"url": "http:\/\/testsite.net",
"home": "http:\/\/testsite.net",
"namespaces": ["oembed\/1.0"],
"authentication": [],
"routes": {
"\/": {
"namespace": "",
"methods": ["GET"],
"endpoints": [{
"methods": ["GET"],
"args": {
"context": {
"required": false,
"default": "view"
}
}
}],
"_links": {
"self": "http:\/\/testsite.net\/wp-json\/"
}
},
"\/oembed\/1.0": {
"namespace": "oembed\/1.0",
"methods": ["GET"],
"endpoints": [{
"methods": ["GET"],
"args": {
"namespace": {
"required": false,
"default": "oembed\/1.0"
},
"context": {
"required": false,
"default": "view"
}
}
}],
"_links": {
"self": "http:\/\/testsite.net\/wp-json\/oembed\/1.0"
}
},
"\/oembed\/1.0\/embed": {
"namespace": "oembed\/1.0",
"methods": ["GET"],
"endpoints": [{
"methods": ["GET"],
"args": {
"url": {
"required": true
},
"format": {
"required": false,
"default": "json"
},
"maxwidth": {
"required": false,
"default": 600
}
}
}],
"_links": {
"self": "http:\/\/testsite.net\/wp-json\/oembed\/1.0\/embed"
}
}
},
"_links": {
"help": [{
"href": "http:\/\/v2.wp-api.org\/"
}]
}
}
Do I still need the plugin or activate those endpoints in the wp-config.php
file?