D4Science D4Science Don't have a D4Science account? Create one Could not find what you are looking for? Contact us.

Item APIs Resource

Item is a set of metadata to describe a concept. An Item can has one or more Resource attached.

DELETE /items

The bulk delete API provides a way to delete all the items matching certain criteria (see Filtering Listing options). The operation returns immediately to the client and continues in background. There is no way to monitor or stop the running operation.

When invoked with no arguments, it deletes all the items of the invoking user in the default CKAN organization for the current context.

If a Catalogue-Admin or above specifies the query parameter own_only=false it deletes all the items of all users for the CKAN organization for the current context. The service ignores the query parameter own_only=false if the requesting user is not Catalogue-Admin or above.

Please check the result using the items listing APIs to verify what you will delete.

The deleted items are moved to the thrash by default. To completely remove the items (i.e. purge) the user can use the query parameter purge=true. Please note that the purge action is not reversible.

By indicating the query parameter purge=true has the same result of using the bulk purge API using the PURGE HTTP Method.

Request Parameters
name type description default constraints
Authorization header Bearer token, see https://dev.d4science.org/how-to-access-resources    
purge query (Default:false) it completely removes all the items in the default CKAN organization. false boolean
Response Codes
code condition
202 The bulk delete/purge has been accepted successfully.
Response Body
media type data type description
application/json;charset=UTF-8 object 202 Accepted HTTP Status to indicate that the request has been properly take in charge. The operation will continue in background.

Example

Request
DELETE /items?purge=false
Content-Type: */*
Accept: application/json;charset=UTF-8
Authorization: ...

                
...
                
              
Response
HTTP/1.1 202 Accepted
Content-Type: application/json;charset=UTF-8

                
...
                
              

GET /items

The listing API provides paginated results by using the query parameters limit and offset.
It returns an array list of string containing the ids (i.e. names) of the items.
Each name can be used as {ITEM_ID} path parameter to manage such item.

Filtering options

The listing method offers options to filter the results, thus enacting to search for items including spatial search (see ext_bbox below).

Basic Filtering options

include_private (bool)
Optional.Default:false.
If True, private datasets will be included in the results.
Only private datasets from the user’s organizations will be returned. For the sysadmins will be returned all private datasets.
E.g. /items?include_private=true
ext_bbox
Optional.Default:null.
The coordinates of the upper-right and bottom-left angle of a rectangular to query for. The form is Lat,Long,Lat,Long
E.g. /items?limit=10&offset=0&q=Pollution&ext_bbox=-7.535093,49.208494,3.890688,57.372349 returns the first 10 items with 'Pollution' having a spatial coverage in the specified bounding box.
own_only (bool)
Optional.Default:false.
If True, only the items of the requester user will be included in the result.
E.g. /items?limit=10&offset=0&own_only=true

Filtering options based on Solr query parameters

It accepts the following query parameters (a subset of Solr search query parameters, see Solr Query Syntax):

q (string)
Optional.Default:"*:*"
The solr query.
E.g. /items?q=title:foo returns the items with word "foo" in the title.
E.g. /items?q=extras_systemtype:MyProfile returns the items having the profile MyProfile
fq (string)
Optional.Default:null.
Filter query. A query string that limits the query results without influencing their scores.
E.g. /items?q=title:foo&fq=notes:bar returns with word "foo" in the 'title' and the word "bar" in the 'notes'.
fq_list (list of strings)
Optional.Default:null.
Additional filter queries to apply.
E.g. /items?q=title:foo&fq_list=... returns the items with word "foo" in the 'title'.
sort (string)
Optional.Default:"relevance asc, metadata_modified desc".
Sorting of the search results.
As per the solr documentation, this is a comma-separated string of field names and sort-orderings.
E.g. /items?q=title:foo&sort=name+asc returns the items with word "foo" in the 'title' sorting the results by name ascending.

Moderated Catalogue filtering options

status (enum)
Optional.Default:null.
It has sense only for moderated catalogues.
When no value is provided, it returns both the items which have been published before the activation of the moderation, as well as the items explicitly approved after the moderation activation. It can assume the following values:
  • pending: it returns only the pending items, i.e. the item published by any allowed users and still not Catalogue-Moderator;
  • rejected: it returns only the rejected items, i.e. the item published by any allowed users and rejected by a Catalogue-Moderator;
  • approved: it returns only the approved items, i.e. the item published by any allowed users and approved by a Catalogue-Moderator.

Please note that only Catalogue-Moderators can filter all items by status.
Other users using this query parameter will get only its own items with such a status in the results.

Query results options

The result is by default an array list of string containing the ids (i.e. names) of the items. Anyway, there are two options to get a different results.

count (bool)
Optional.Default:false.
If True, it indicates that the result must contains only the total number of items of the query.
E.g. /items?limit=10&offset=0&count=true
all_fields (bool)
Optional.Default:false. If True, the returned array list contains the whole item representation and not only the id (i.e. the name).
E.g. /items?limit=10&offset=0&all_fields=true

Please note that, count query parameter has priority over all_fields query parameter. In other words, all_fields query parameter is not considered is count query parameter is true.

Request Parameters
name type description default constraints
Authorization header Bearer token, see https://dev.d4science.org/how-to-access-resources    
limit query (Default:10) To get unlimited results the limit query parameters must be set to -1. If the results are too much the operation could fail. It is recommended to request no more than 1000 results. 10 int
offset query (Default:0) The offset parameter indicates the starting position of the result. 0 int
Response Codes
code condition
200 The request succeeded.
Response Body
media type data type description
application/json;charset=UTF-8 string It returns an array list of string containing the ids (i.e. names) of the items. E.g.
["item0","items1",...,"item10"]
In the case the query parameter count=true it returns the total number of items of the query. E.g.
{"count":148}
In the case the query parameter all_fields=true each element of the resulting array contains the item representation: E.g.
  [
  	{
  		"name"="item0",
  		...,
  		"private": false,
  		"license_url": "http://www.opensource.org/licenses/AFL-3.0"
  	},
  	{
  		"name"="item1",
  		...,
  		"private": true,
  		"license_url": "http://www.opensource.org/licenses/AFL-3.0"
  	},
  	...,
  	{
  		"name"="itemN",
  		...,
  		"private": false,
  		"license_url": "http://www.opensource.org/licenses/AFL-3.0"
  	}
  
  ]
application/vnd.api+json string

Example

Request
GET /items?limit=10&offset=0
Content-Type: */*
Accept: application/json;charset=UTF-8
Authorization: ...

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8

                
["item0","items1",...,"item10"]
                
              

POST /items

The create API allows to create an item. An Item is mainly described by the following attributes (* indicate mandatory attributes):

name* (string)
the name of the new item, must be between 2 and 100 characters long and contain only lowercase alphanumeric characters, '-' and '_';
title (string)
If not specified it assumes the same value of name attribute. The title of the item;
maintainer (string)
the name of the item’s maintainer;
maintainer_email (string)
the email address of the item’s maintainer;
license_id* (string)
the id of the item’s license, use License listing API to get available values;
notes (string)
a description of the item;
url (string)
a URL for the item’s source;
version (string)
must be between no longer than 100 characters
state (string, default='active')
the current state of the item, e.g. 'active' or 'deleted', only active items show up in search results and other lists of items, this parameter will be ignored if you are not authorized to change the state of the item;
groups (list of dictionaries)
the groups to which the item belongs, each group dictionary should have one or more of the following keys which identify an existing group: 'id' (the id of the group, string), or 'name' (the name of the group, string). To see which groups exist use Group listing API.
tags (list of tag dictionaries)
the item’s tags. The tag is a dictionary in the format: name : the name for the tag, i.e. a string between 2 and 100 characters long containing only alphanumeric characters and '-', '_' and '.'.
resources (list of resource dictionaries)
the item’s resources, see Resource collection for the format of resource dictionaries;
extras (list of item extra dictionaries)
the item’s extras, extras are arbitrary (key: value) metadata items that can be added to items, each extra dictionary should have keys 'key' (a string), 'value' (a string);
owner_org (string)
the id of the item’s owning organization, see supportedOrganizations property in Read Configuration. The defaultOrganization is used if the author does not specify the organization.

Parameter automatically managed:

author (string)
the name of the item’s author (the owner of the gcube-token);
author_email (string)
the email address of the item’s author (the email of the owner of gcube-token);

Geo-Indexing your datasets:

In order to make an Item searchable by location, it must have a special extra, with its key named ‘spatial’. The value must be a valid GeoJSON geometry, for example:

 	{
 		"type":"Polygon",
 		"coordinates":[[[2.05827, 49.8625],[2.05827, 55.7447], [-6.41736, 55.7447], [-6.41736, 49.8625], [2.05827, 49.8625]]]
 	}
 
or
 	{
 		"type": "Point",
 		"coordinates": [-3.145,53.078]
 	}
 

Profile

If at least one profile has been defined within this context, then you need to specify the profile's type when creating the item. You need to insert, among the extras of the JSON object describing the item, a system:type property with one of the available profile, see List Profiles API. The validation of the submitted request will be performed against the profile whose type has been specified. The profile's properties need to be specified within the extras field as well.

If no profile has been defined, then no validation will be performed. Thus you do not need to set any system:type property.

Social Post

The user is going to crreate an item can indicate if he/she desires the creation of a social post to inform all the users of the VRE that he/she has created the item.
To request the social post he/she must indicate social_post=true query parameter.
The social_post query parameter is optional and the default value is false.
Please note that even the user indicates social_post=true the social post is create only and only if the Catalogue-Manager enabled this feature, see socialPostEnabled property in Read Configuration. When the social post is created the a notification to the VRe user is sent if the property notificationToUsersEnabled is true in the above mentioned configuration. If false notificationToUsersEnabled=false the social post will not produce a notification to the VRE user which will be only informed about the item pubblication by reading the generated social post in the VRE.

Request Parameters
name type description
Authorization header Bearer token, see https://dev.d4science.org/how-to-access-resources
Request Body
media type data type description
application/json;charset=UTF-8 string containing the item to be created
Response Codes
code condition
201 The item has been created successfully.
Response Body
media type data type description
application/json;charset=UTF-8 object 201 Created HTTP Status to indicate that the item has been created. Some operation could continue in background such as the social post creation.

Example

Request
POST /items?social_post=true
Content-Type: application/json;charset=UTF-8
Accept: application/json;charset=UTF-8
Authorization: ...

                
{
    "name": "my_test_item",
    "title": "My Test Item",
    "license_id": "CC-BY-SA-4.0",
    "private": false,
    "notes": "A test item of Luca Frosini",
    "url": "http://www.d4science.org",
    "tags": [
        {
            "name": "Test"
        }
    ],
    "resources": [],
    "extras": [
        {
            "key": "Language",
            "value": "EN"
        },
        {
            "key": "system:type",
            "value": "EmptyProfile"
        }
    ]
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json;charset=UTF-8

                
{
    "rating": 0.0,
    "license_title": "Creative Commons Attribution Share-Alike 4.0",
    "maintainer": "Frosini Luca",
    "relationships_as_object": [],
    "private": false,
    "maintainer_email": "luca.frosini@isti.cnr.it",
    "num_tags": 1,
    "id": "93b3e578-5cb2-4560-adcb-5512f2449b98",
    "metadata_created": "2022-09-27T13:54:23.505142",
    "metadata_modified": "2022-09-27T13:54:23.505150",
    "author": "Frosini Luca",
    "author_email": "luca.frosini@isti.cnr.it",
    "state": "active",
    "version": null,
    "creator_user_id": "aabddbb0-b761-4f30-9629-3ca2fdc08eb4",
    "type": "dataset",
    "resources": [],
    "num_resources": 0,
    "tags": [
        {
            "vocabulary_id": null,
            "state": "active",
            "display_name": "Test",
            "id": "fec9de86-51a2-41b0-aef4-ba06eb39e16d",
            "name": "Test"
        }
    ],
    "groups": [],
    "license_id": "CC-BY-SA-4.0",
    "relationships_as_subject": [],
    "organization": {
        "description": "",
        "created": "2016-05-30T11:30:41.710079",
        "title": "devVRE",
        "name": "devvre",
        "is_organization": true,
        "state": "active",
        "image_url": "",
        "revision_id": "a7eee485-a6d5-4a7b-8f73-b0ed999d5b03",
        "type": "organization",
        "id": "3571cca5-b0ae-4dc6-b791-434a8e062ce5",
        "approval_status": "approved"
    },
    "name": "my_test_item",
    "isopen": true,
    "url": "http://www.d4science.org",
    "notes": "A test item of Luca Frosini",
    "extras": [
        {
            "key": "Item URL",
            "value": "https://data.dev.d4science.org/ctlg/devVRE/my_test_item"
        },
        {
            "key": "Language",
            "value": "EN"
        },
        {
            "key": "system:type",
            "value": "EmptyProfile"
        }
    ],
    "license_url": "https://creativecommons.org/licenses/by-sa/4.0/",
    "ratings_count": 0,
    "title": "My Test Item",
    "revision_id": "47af0aa8-bf5e-4ff8-adf3-d2f120cbd4a5"
}
                
              

PURGE /items

The bulk purge API provides a way to completely remove all the items matching certain criteria (see Filtering Listing options). Please note that this action is not reversible. The operation returns immediately to the client and continues in background. There is no way to monitor or stop the running operation.

When invoked with no arguments, it purges all the items of the invoking user in the default CKAN organization for the current context.

If a Catalogue-Admin or above specifies the query parameter own_only=false, it purges all the items of all users for the CKAN organization for the current context. The service ignores the query parameter own_only=false if the requesting user is not Catalogue-Admin or above.

Please check the result using the items listing APIs to verify what you will purge.

Invoking this API has the same result of using the bulk delete API using the DELETE HTTP Method with the query parameters purge=true.

Request Parameters
name type description
Authorization header Bearer token, see https://dev.d4science.org/how-to-access-resources
Response Codes
code condition
202 The bulk purge has been accepted successfully.
Response Body
media type data type description
application/json;charset=UTF-8 object 202 Accepted HTTP Status to indicate that the request has been properly taken in charge.
The operation will continue in background.

Example

Request
PURGE /items
Content-Type: */*
Accept: application/json;charset=UTF-8
Authorization: ...

                
...
                
              
Response
HTTP/1.1 202 Accepted
Content-Type: application/json;charset=UTF-8

                
...
                
              

DELETE /items/{ITEM_ID}

Request Parameters
name type description default constraints
Authorization header Bearer token, see https://dev.d4science.org/how-to-access-resources    
ITEM_ID path    
purge query false boolean
Response Codes
code condition
204 The item has been deleted successfully.
404 The item was not found.
Response Body
media type data type description
*/* object

Example

Request
DELETE /items/my_test_item
Content-Type: */*
Accept: */*
Authorization: ...

                
...
                
              
Response
HTTP/1.1 204 No Content
Content-Type: */*

                
...
                
              

GET /items/{ITEM_ID}

Request Parameters
name type description
Authorization header Bearer token, see https://dev.d4science.org/how-to-access-resources
ITEM_ID path
Response Codes
code condition
200 The item exists.
Response Body
media type data type description
application/json;charset=UTF-8 string

Example

Request
GET /items/my_test_item
Content-Type: */*
Accept: application/json;charset=UTF-8
Authorization: ...

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8

                
{
    "rating": 0.0,
    "license_title": "Creative Commons Attribution Share-Alike 4.0",
    "maintainer": "Frosini Luca",
    "relationships_as_object": [],
    "private": false,
    "maintainer_email": "luca.frosini@isti.cnr.it",
    "num_tags": 1,
    "id": "93b3e578-5cb2-4560-adcb-5512f2449b98",
    "metadata_created": "2022-09-27T13:54:23.505142",
    "metadata_modified": "2022-09-27T13:54:23.505150",
    "author": "Frosini Luca",
    "author_email": "luca.frosini@isti.cnr.it",
    "state": "active",
    "version": null,
    "creator_user_id": "aabddbb0-b761-4f30-9629-3ca2fdc08eb4",
    "type": "dataset",
    "resources": [],
    "num_resources": 0,
    "tags": [
        {
            "vocabulary_id": null,
            "state": "active",
            "display_name": "Test",
            "id": "fec9de86-51a2-41b0-aef4-ba06eb39e16d",
            "name": "Test"
        }
    ],
    "groups": [],
    "license_id": "CC-BY-SA-4.0",
    "relationships_as_subject": [],
    "organization": {
        "description": "",
        "created": "2016-05-30T11:30:41.710079",
        "title": "devVRE",
        "name": "devvre",
        "is_organization": true,
        "state": "active",
        "image_url": "",
        "revision_id": "a7eee485-a6d5-4a7b-8f73-b0ed999d5b03",
        "type": "organization",
        "id": "3571cca5-b0ae-4dc6-b791-434a8e062ce5",
        "approval_status": "approved"
    },
    "name": "my_test_item",
    "isopen": true,
    "url": "http://www.d4science.org",
    "notes": "A test item of Luca Frosini",
    "extras": [
        {
            "key": "Item URL",
            "value": "https://data.dev.d4science.org/ctlg/devVRE/my_test_item"
        },
        {
            "key": "Language",
            "value": "EN"
        },
        {
            "key": "system:type",
            "value": "EmptyProfile"
        }
    ],
    "license_url": "https://creativecommons.org/licenses/by-sa/4.0/",
    "ratings_count": 0,
    "title": "My Test Item",
    "revision_id": "47af0aa8-bf5e-4ff8-adf3-d2f120cbd4a5"
}
                
              

PATCH /items/{ITEM_ID}

Request Parameters
name type description
Authorization header Bearer token, see https://dev.d4science.org/how-to-access-resources
ITEM_ID path
Request Body
media type data type
application/json;charset=UTF-8 string
Response Codes
code condition
200 The item has been patched successfully.
Response Body
media type data type description
application/json;charset=UTF-8 string

Example

Request
PATCH /items/my_test_item
Content-Type: application/json;charset=UTF-8
Accept: application/json;charset=UTF-8
Authorization: ...

                
{
    "name": "my_test_item",
    "title": "Patched Title of My Test Item"
}
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8

                
{
    "rating": 0.0,
    "license_title": "Creative Commons Attribution Share-Alike 4.0",
    "maintainer": "Frosini Luca",
    "relationships_as_object": [],
    "private": false,
    "maintainer_email": "luca.frosini@isti.cnr.it",
    "num_tags": 1,
    "id": "93b3e578-5cb2-4560-adcb-5512f2449b98",
    "metadata_created": "2022-09-27T13:54:23.505142",
    "metadata_modified": "2022-09-27T13:57:28.825790",
    "author": "Frosini Luca",
    "author_email": "luca.frosini@isti.cnr.it",
    "state": "active",
    "version": null,
    "creator_user_id": "aabddbb0-b761-4f30-9629-3ca2fdc08eb4",
    "type": "dataset",
    "resources": [],
    "num_resources": 0,
    "tags": [
        {
            "vocabulary_id": null,
            "state": "active",
            "display_name": "Test",
            "id": "fec9de86-51a2-41b0-aef4-ba06eb39e16d",
            "name": "Test"
        }
    ],
    "groups": [],
    "license_id": "CC-BY-SA-4.0",
    "relationships_as_subject": [],
    "organization": {
        "description": "",
        "created": "2016-05-30T11:30:41.710079",
        "title": "devVRE",
        "name": "devvre",
        "is_organization": true,
        "state": "active",
        "image_url": "",
        "revision_id": "a7eee485-a6d5-4a7b-8f73-b0ed999d5b03",
        "type": "organization",
        "id": "3571cca5-b0ae-4dc6-b791-434a8e062ce5",
        "approval_status": "approved"
    },
    "name": "my_test_item",
    "isopen": true,
    "url": "http://www.d4science.org",
    "notes": "A test item of Luca Frosini",
     "extras": [
        {
            "key": "Item URL",
            "value": "https://data.dev.d4science.org/ctlg/devVRE/my_test_item"
        },
        {
            "key": "Language",
            "value": "EN"
        },
        {
            "key": "system:type",
            "value": "EmptyProfile"
        }
    ],
    "license_url": "https://creativecommons.org/licenses/by-sa/4.0/",
    "ratings_count": 0,
    "title": "Patched Title of My Test Item",
    "revision_id": "65c6bce2-c5c6-47e9-9264-5891abe78000"
}
                
              

POST /items/{ITEM_ID}

Request Parameters
name type description
Authorization header Bearer token, see https://dev.d4science.org/how-to-access-resources
ITEM_ID path the name of the item to moderate
Request Body
media type data type description
application/json;charset=UTF-8 string It contains the moderation action to perform on the item.

The format is the following

 	{
 		"system:cm_item_status":"approved",
 		"message": "..."
 	}
 

The field system:cm_item_status can have the following values: approved or rejected, indicating the item's new status.
It is possible to send an optional message together with the new status by adding the field message.
This operation is available for Catalogue-Moderator only.

Catalogue-Moderator and item author can send just a message to discuss the approval of the item by indicating the field message only.

Response Codes
code condition
202 The moderation operation has been accepted successfully.
Response Body
media type data type description
application/json;charset=UTF-8 object 202 Accepted HTTP Status to indicate that the request has been properly taken in charge.
The operation will continue in background.

Example

Request
POST /items/my_test_item
Content-Type: application/json;charset=UTF-8
Accept: application/json;charset=UTF-8
Authorization: ...

                
{
	"system:cm_item_status":"rejected",
	"message": "The indicated language does not match with the item resource language"
}
                
              
Response
HTTP/1.1 202 Accepted
Content-Type: application/json;charset=UTF-8

                
...
                
              

PURGE /items/{ITEM_ID}

Request Parameters
name type description
Authorization header Bearer token, see https://dev.d4science.org/how-to-access-resources
ITEM_ID path
Response Codes
code condition
204 The item has been purged successfully.
404 The item was not found.
Response Body
media type data type description
*/* object

Example

Request
PURGE /items/my_test_item
Content-Type: */*
Accept: */*
Authorization: ...

                
...
                
              
Response
HTTP/1.1 204 No Content
Content-Type: */*

                
...
                
              

PUT /items/{ITEM_ID}

Any Catalogue-Admins or above is capable of modifying the authorship of the item.
The service does not perform any checks on author information provided by the user.

Request Parameters
name type description
Authorization header Bearer token, see https://dev.d4science.org/how-to-access-resources
ITEM_ID path
Request Body
media type data type
application/json;charset=UTF-8 string
Response Codes
code condition
200 The item has been updated successfully.
Response Body
media type data type description
application/json;charset=UTF-8 string

Example

Request
PUT /items/my_test_item
Content-Type: application/json;charset=UTF-8
Accept: application/json;charset=UTF-8
Authorization: ...

                
{
    "rating": 0.0,
    "license_title": "Creative Commons Attribution Share-Alike 4.0",
    "maintainer": "Frosini Luca",
    "relationships_as_object": [],
    "private": false,
    "maintainer_email": "luca.frosini@isti.cnr.it",
    "num_tags": 1,
    "id": "93b3e578-5cb2-4560-adcb-5512f2449b98",
    "metadata_created": "2022-09-27T13:54:23.505142",
    "metadata_modified": "2022-09-27T13:54:23.505150",
    "author": "Frosini Luca",
    "author_email": "luca.frosini@isti.cnr.it",
    "state": "active",
    "version": null,
    "creator_user_id": "aabddbb0-b761-4f30-9629-3ca2fdc08eb4",
    "type": "dataset",
    "resources": [],
    "num_resources": 0,
    "tags": [
        {
            "vocabulary_id": null,
            "state": "active",
            "display_name": "Test",
            "id": "fec9de86-51a2-41b0-aef4-ba06eb39e16d",
            "name": "Test"
        }
    ],
    "groups": [],
    "license_id": "CC-BY-SA-4.0",
    "relationships_as_subject": [],
    "organization": {
        "description": "",
        "created": "2016-05-30T11:30:41.710079",
        "title": "devVRE",
        "name": "devvre",
        "is_organization": true,
        "state": "active",
        "image_url": "",
        "revision_id": "a7eee485-a6d5-4a7b-8f73-b0ed999d5b03",
        "type": "organization",
        "id": "3571cca5-b0ae-4dc6-b791-434a8e062ce5",
        "approval_status": "approved"
    },
    "name": "my_test_item",
    "isopen": true,
    "url": "http://www.d4science.org",
    "notes": "A test item of Luca Frosini",
    "extras": [
        {
            "key": "Item URL",
            "value": "https://data.dev.d4science.org/ctlg/devVRE/my_test_item"
        },
        {
            "key": "Language",
            "value": "EN"
        },
        {
            "key": "system:type",
            "value": "EmptyProfile"
        }
    ],
    "license_url": "https://creativecommons.org/licenses/by-sa/4.0/",
    "ratings_count": 0,
    "title": "Updated title of My Test Item",
    "revision_id": "47af0aa8-bf5e-4ff8-adf3-d2f120cbd4a5"
}
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8

                
{
    "rating": 0.0,
    "license_title": "Creative Commons Attribution Share-Alike 4.0",
    "maintainer": "Frosini Luca",
    "relationships_as_object": [],
    "private": false,
    "maintainer_email": "luca.frosini@isti.cnr.it",
    "num_tags": 1,
    "id": "93b3e578-5cb2-4560-adcb-5512f2449b98",
    "metadata_created": "2022-09-27T13:54:23.505142",
    "metadata_modified": "2022-09-27T13:56:52.746494",
    "author": "Frosini Luca",
    "author_email": "luca.frosini@isti.cnr.it",
    "state": "active",
    "version": null,
    "creator_user_id": "aabddbb0-b761-4f30-9629-3ca2fdc08eb4",
    "type": "dataset",
    "resources": [],
    "num_resources": 0,
    "tags": [
        {
            "vocabulary_id": null,
            "state": "active",
            "display_name": "Test",
            "id": "fec9de86-51a2-41b0-aef4-ba06eb39e16d",
            "name": "Test"
        }
    ],
    "groups": [],
    "license_id": "CC-BY-SA-4.0",
    "relationships_as_subject": [],
    "organization": {
        "description": "",
        "created": "2016-05-30T11:30:41.710079",
        "title": "devVRE",
        "name": "devvre",
        "is_organization": true,
        "state": "active",
        "image_url": "",
        "revision_id": "a7eee485-a6d5-4a7b-8f73-b0ed999d5b03",
        "type": "organization",
        "id": "3571cca5-b0ae-4dc6-b791-434a8e062ce5",
        "approval_status": "approved"
    },
    "name": "my_test_item",
    "isopen": true,
    "url": "http://www.d4science.org",
    "notes": "A test item of Luca Frosini",
    "extras": [
        {
            "key": "Item URL",
            "value": "https://data.dev.d4science.org/ctlg/devVRE/my_test_item"
        },
        {
            "key": "Language",
            "value": "EN"
        },
        {
            "key": "system:type",
            "value": "EmptyProfile"
        }
    ],
    "license_url": "https://creativecommons.org/licenses/by-sa/4.0/",
    "ratings_count": 0,
    "title": "Updated title of My Test Item",
    "revision_id": "bfa50b95-e936-4843-a405-3d6ff7e427aa"
}