Skip to content

Instantly share code, notes, and snippets.

@ercanozkaya
Created June 23, 2015 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ercanozkaya/3ad66113fbf34d23410a to your computer and use it in GitHub Desktop.
Save ercanozkaya/3ad66113fbf34d23410a to your computer and use it in GitHub Desktop.
{
"jsonapi": {
"version": "1.0"
},
"links": {
"self": "http:\/\/docman.dev\/administrator\/index.php?option=com_docman&view=documents&format=json"
},
"data": [
{
"type": "document",
"id": "1",
"attributes": {
"id": "1",
"uuid": "f70ccddb-c3dd-4955-994d-870db8480002",
"title": "ercan",
"slug": "ercan",
"docman_category_id": "1",
"description": null,
"image": "generated\/c4ca4238a0b923820dcc509a6f75849b.png",
"storage_type": "file",
"storage_path": "fileman21.png",
"hits": "1",
"enabled": "1",
"access": "1",
"publish_on": "0000-00-00 00:00:00",
"unpublish_on": "0000-00-00 00:00:00",
"locked_on": "0000-00-00 00:00:00",
"locked_by": "0",
"created_on": "2015-06-22 14:32:33",
"created_by": "951",
"modified_on": "2015-06-22 14:32:33",
"modified_by": "951",
"parameters": {
"icon": "image"
},
"asset_id": "59",
"category_title": "ercan",
"category_slug": "ercan",
"category_access": "1",
"category_enabled": "1",
"category_owner": "951",
"alias": "1-ercan",
"access_raw": "0",
"access_title": "Public",
"publish_date": "2015-06-22 14:32:33",
"touched_on": "2015-06-22 14:32:33",
"locked_by_name": null,
"created_by_name": "Super User",
"modified_by_name": "Super User",
"icon": "image"
},
"links": {
"self": "http:\/\/docman.dev\/administrator\/index.php?option=com_docman&view=document&slug=ercan&format=json"
},
"relationships": {
"category": {
"links": {
"self": "http:\/\/docman.dev\/administrator\/index.php?option=com_docman&view=categories&format=json&admin_link=1&slug=ercan"
},
"data": {
"type": "category",
"id": "1",
"attributes": {
"id": "1",
"title": "ercan",
"slug": "ercan"
}
}
},
"file": {
"data": {
"type": "file",
"id": "fileman21.png",
"attributes": {
"type": "image\/png",
"size": 3132,
"extension": "png"
}
}
},
"image": {
"links": {
"self": "http:\/\/docman.dev\/joomlatools-files\/docman-images\/generated\/c4ca4238a0b923820dcc509a6f75849b.png"
}
}
}
}
],
"meta": {
"offset": 0,
"limit": 20,
"total": 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment