Difference between revisions of "contentEadClevel"

From Archives Portal Europe Wiki
Jump to: navigation, search
Line 9: Line 9:
 
== id ==
 
== id ==
 
Internal APE identifier of a descriptive unit (id is starting with "C"). In this service, if the identifier does not start with a "C", you will get an error message. This parameter is required.
 
Internal APE identifier of a descriptive unit (id is starting with "C"). In this service, if the identifier does not start with a "C", you will get an error message. This parameter is required.
 +
 +
''N.B.: you can find the (internal APE) identifier of a descriptive unit (always starting with a "C") which is necessary for using this service via the [[searchEad | /search/ead]] service''
 
<br/><br/>
 
<br/><br/>
 +
 
= Response parameters =
 
= Response parameters =
  
Line 18: Line 21:
 
   "unitId": "string",
 
   "unitId": "string",
 
   "unitTitle": "string",
 
   "unitTitle": "string",
   "fondsUnitTitle": "string",
+
   "findingAidTitle": "string",
 
   "repositoryId": 0,
 
   "repositoryId": 0,
 
   "repository": "string",
 
   "repository": "string",
Line 53: Line 56:
 
     ],
 
     ],
 
     "level": "CLASS",
 
     "level": "CLASS",
 +
    "tpattern": "string",
 
     "id": "string",
 
     "id": "string",
 
     "altrender": "string",
 
     "altrender": "string",
Line 58: Line 62:
 
     "otherlevel": "string",
 
     "otherlevel": "string",
 
     "encodinganalog": "string",
 
     "encodinganalog": "string",
    "tpattern": "string",
 
 
     "mdescFull": [
 
     "mdescFull": [
 
       {}
 
       {}
Line 67: Line 70:
  
 
== Basic Response example ==
 
== Basic Response example ==
For the identifier C85430764:
+
For the identifier C392722936:
 
<pre style="white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;">
 
<pre style="white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;">
 
{
 
{
   "id": "C85430764",
+
   "id": "C392722936",
 
   "unitId": "4.AANW - 1298",
 
   "unitId": "4.AANW - 1298",
 
   "unitTitle": "Brielle Prent van stadsgezicht.",
 
   "unitTitle": "Brielle Prent van stadsgezicht.",
   "fondsUnitTitle": "Inventaris van de collectie Aanwinsten Kaarten en Tekeningen sinds 1888",
+
   "findingAidTitle": "Inventaris van de collectie Aanwinsten Kaarten en Tekeningen sinds 1888",
   "repositoryId": 32171,
+
   "repositoryId": 2437,
 
   "repository": "Nationaal Archief",
 
   "repository": "Nationaal Archief",
 
   "content": {
 
   "content": {
Line 119: Line 122:
 
           ],
 
           ],
 
           "encodinganalog": "3.1.3",
 
           "encodinganalog": "3.1.3",
          "era": "ce",
 
 
           "calendar": "gregorian",
 
           "calendar": "gregorian",
           "normal": "1700"
+
           "normal": "1700",
 +
          "era": "ce"
 
         },
 
         },
 
         {
 
         {
Line 144: Line 147:
 
       ]
 
       ]
 
     },
 
     },
     "id": "d2e46036",
+
     "id": "d2e46035",
 
     "encodinganalog": "3.1.4"
 
     "encodinganalog": "3.1.4"
 
   }
 
   }
Line 159: Line 162:
 
Title of the information, provided by the repository.
 
Title of the information, provided by the repository.
  
== fondsUnitTitle ==
+
== findingAidTitle ==
 
Title of the finding aid, provided by the repository.
 
Title of the finding aid, provided by the repository.
  

Revision as of 14:41, 30 August 2017

Request url: https://api.archivesportaleurope.net/services/content/ead/clevel/{id}. This service is a GET-request.

This content-service delivers all information available of the description of an archival description identified with {id}. A web-developer can use this service to create a detailed presentation of a search result.



Request parameters

id

Internal APE identifier of a descriptive unit (id is starting with "C"). In this service, if the identifier does not start with a "C", you will get an error message. This parameter is required.

N.B.: you can find the (internal APE) identifier of a descriptive unit (always starting with a "C") which is necessary for using this service via the /search/ead service

Response parameters

Empty Response example

{
  "id": "string",
  "unitId": "string",
  "unitTitle": "string",
  "findingAidTitle": "string",
  "repositoryId": 0,
  "repository": "string",
  "content": {
    "head": {
      "content": [
        {}
      ],
      "althead": "string",
      "id": "string",
      "altrender": "string",
      "audience": "string"
    },
    "did": {
      "head": {
        "content": [
          {}
        ],
        "althead": "string",
        "id": "string",
        "altrender": "string",
        "audience": "string"
      },
      "encodinganalog": "string",
      "id": "string",
      "altrender": "string",
      "audience": "string",
      "mdid": [
        {}
      ]
    },
    "theadAndC": [
      {}
    ],
    "level": "CLASS",
    "tpattern": "string",
    "id": "string",
    "altrender": "string",
    "audience": "string",
    "otherlevel": "string",
    "encodinganalog": "string",
    "mdescFull": [
      {}
    ]
  }
}

Basic Response example

For the identifier C392722936:

{
  "id": "C392722936",
  "unitId": "4.AANW - 1298",
  "unitTitle": "Brielle Prent van stadsgezicht.",
  "findingAidTitle": "Inventaris van de collectie Aanwinsten Kaarten en Tekeningen sinds 1888",
  "repositoryId": 2437,
  "repository": "Nationaal Archief",
  "content": {
    "did": {
      "mdid": [
        {
          "content": [
            {
              "name": "{urn:isbn:1-931666-22-9}extptr",
              "declaredType": "gov.loc.ead.Extptr",
              "scope": "gov.loc.ead.Unitid",
              "value": {
                "type": "simple",
                "href": "http://proxy.handle.net/10648/da934103-d2bb-46c6-97dc-099cffb844d8"
              },
              "nil": false,
              "globalScope": false,
              "typeSubstituted": false
            },
            "4.AANW - 1298"
          ],
          "type": "call number",
          "encodinganalog": "3.1.1"
        },
        {
          "content": [
            "Brielle",
            {
              "name": "{urn:isbn:1-931666-22-9}lb",
              "declaredType": "gov.loc.ead.Lb",
              "scope": "gov.loc.ead.Unittitle",
              "value": {},
              "nil": false,
              "globalScope": false,
              "typeSubstituted": false
            },
            "Prent van stadsgezicht. "
          ],
          "encodinganalog": "3.1.2"
        },
        {
          "content": [
            "[ca. 1700]"
          ],
          "encodinganalog": "3.1.3",
          "calendar": "gregorian",
          "normal": "1700",
          "era": "ce"
        },
        {
          "content": [
            "1 blad ",
            {
              "name": "{urn:isbn:1-931666-22-9}physfacet",
              "declaredType": "gov.loc.ead.Physfacet",
              "scope": "gov.loc.ead.Physdesc",
              "value": {
                "content": [
                  "Gedrukt."
                ]
              },
              "nil": false,
              "globalScope": false,
              "typeSubstituted": false
            }
          ],
          "encodinganalog": "3.1.5"
        }
      ]
    },
    "id": "d2e46035",
    "encodinganalog": "3.1.4"
  }
}

id

Internal APE identifier of the descriptive unit. The same as your request parameter "id".

unitId

Original identifier of the information provided by the repository.

unitTitle

Title of the information, provided by the repository.

findingAidTitle

Title of the finding aid, provided by the repository.

repositoryId

Internal APE identifier of the repository.

repository

Name of the repository.

content

Information in EAD-format, serialized as JSON. This part could potentially contain all the elements that can be part of a Component-element (<c>) of an EAD/XML-document.