Doing a GET request for a single Article or Group of Articles doesn't return all the data.
In this case, I am going to specifically report Meta Data and Meta Desc.
Should return all the data that's available in the UDPATE and CREATE API request.
"data": {
"type": "articles",
"id": "9",
"attributes": {
"typeAlias": "com_content.article",
"id": 9,
"asset_id": 110,
"title": "Title of Article goes here",
"state": 1,
"created": "2020-07-10 13:55:11",
"language": "*",
"tags": {
"2": "test",
"3": "test2"
},
"text": "<p>My text</p> "
},
"relationships": {
"category": {
"data": {
"type": "categories",
"id": "8"
}
},
"author": {
"data": {
"type": "users",
"id": "30"
}
}
}
}
Joomla 4 Beta 2
You can update metadesc and metakey using API but you don't know what the value of those keys are in an existing article.
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-07-17 16:48:58 |
Closed_By | ⇒ | Quy |
Thank YOU! sorry for not searching earlier.
@chetanmadaan please test #30134
Roger that! Give me a few hours please.
please mark successfully tested on https://issues.joomla.org/tracker/joomla-cms/30134
Done deal!
I see some other limitations in the API, I'll be adding different todo for them all :).
Please see #27569