Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1920

Joomla! 5.x Coding • Re: The Joomla 5 API does not work

$
0
0
Just tested in a fresh install of joomla 5. You can check the differences

Code:

{  "links": {    "self": "http://127.0.0.1/joomla5tests/api/index.php/v1/content/articles"  },  "data": [    {      "type": "articles",      "id": "1",      "attributes": {        "id": 1,        "asset_id": 101,        "title": "Article 1",        "alias": "article-1",        "state": 1,        "access": 1,        "created": "2024-04-30 23:18:01",        "created_by": 536,        "created_by_alias": "",        "modified": "2024-05-01 02:01:07",        "featured": 0,        "language": "*",        "hits": 2,        "publish_up": "2024-04-30 23:18:01",        "publish_down": null,        "note": "",        "images": {          "image_intro": "",          "image_intro_alt": "",          "float_intro": "",          "image_intro_caption": "",          "image_fulltext": "",          "image_fulltext_alt": "",          "float_fulltext": "",          "image_fulltext_caption": ""        },        "metakey": "",        "metadesc": "",        "metadata": {          "robots": "",          "author": "",          "rights": ""        },        "version": 2,        "featured_up": null,        "featured_down": null,        "typeAlias": "com_content.article",        "text": " ",        "text-custom-field": "tertr",        "tags": []      },      "relationships": {        "category": {          "data": {            "type": "categories",            "id": "8"          }        },        "created_by": {          "data": {            "type": "users",            "id": "536"          }        },        "tags": {          "data": []        }      }    }  ],  "meta": {    "total-pages": 1  }}

Statistics: Posted by carlitorweb — Wed May 01, 2024 1:08 am



Viewing all articles
Browse latest Browse all 1920

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>