Open Data

Dédalo Cultural Heritage Management Platform

MIB utiliza el software Dédalo Cultural Heritage Management Platform para la gestión integral del archivo y su publicación web.
Si tienes autorización, puedes acceder al sistema de trabajo del archivo en Dédalo.

Dédalo Publication Server

El sistema de publicación de MIB es accesible mediante Dédalo Publication Server API.
Puedes hacer consultas REST utilizando el panel interactivo inferior o integrar los datos directamente haciendo consultas al API en la url: https://monedaiberica.org/dedalo_publication_server/

Ejemplo usando el navegador:
https://monedaiberica.org/dedalo_publication_server/tables_info?code=654asdiKrhdTetQksluoQaW2

Ejemplo usando CURL:
curl -X GET "https://monedaiberica.org/dedalo_publication_server/tables_info?code=654asdiKrhdTetQksluoQaW2" -H "accept: application/json"

Ejemplo usando Javascript:
function request_data(options) {

	const url		= options.url || 'https://monedaiberica.org/dedalo_publication_server/'
	const method		= options.method || 'POST' // *GET, POST, PUT, DELETE, etc.
	const mode		= options.mode || 'cors' // no-cors, cors, *same-origin
	const cache		= options.cache || 'no-cache' // *default, no-cache, reload, force-cache, only-if-cached
	const credentials	= options.credentials || 'same-origin' // include, *same-origin, omit
	const headers		= options.headers || {'Content-Type': 'application/json'} // 'application/json'
	const redirect		= options.redirect || 'follow' // manual, *follow, error
	const referrer		= options.referrer || 'no-referrer' // no-referrer, *client
	const body		= options.body // body data type must match "Content-Type" header

	// code defaults
		if (!body.code) {
			body.code = '654asdiKrhdTetQksluoQaW2'
		}
	// lang defaults
		if (!body.lang) {
			body.lang = 'lg-spa'
		}

	const handle_errors = function(response) {
		if (!response.ok) {
			console.warn("-> handle_errors response:",response);
			throw Error(response.statusText);
		}
		return response;
	}

 	const api_response = fetch(
 		url,
 		{
			method		: method,
			mode		: mode,
			cache		: cache,
			credentials	: credentials,
			headers		: headers,
			redirect	: redirect,
			referrer	: referrer,
			body		: JSON.stringify(body)
		})
		.then(handle_errors)
		.then(response => {
			const json_parsed = response.json().then((result)=>{
				return result
			})
			return json_parsed
		})// parses JSON response into native Javascript objects
		.catch(error => {
			console.error("!!!!! [request_data] ERROR:", error)
			return {
				result 	: false,
				msg 	: error.message,
				error 	: error
			}
		});

	return api_response
}//end request_data
request_data({
	body : {
		dedalo_get		: 'records',
		lang			: 'lg-spa',
		table			: 'catalog',
		ar_fields		: '*',
		sql_filter		: '',
		limit			: 10,
		group			: null,
		count			: true,
		offset			: 0,
		order			: null
	}
}).then(function(api_response){
	// Note some values are JSON encoded objects/array. You can parse them to get the proper data 
	console.log("api_response:",api_response);
})

Codepen playground:


Open API initiative
Swagger UXswagger

Dédalo Publication Server REST API 1.0.15
 1.0.15 

[ Base url: monedaiberica.org/dedalo/lib/dedalo/publication/server_api/v1/json/]
https://monedaiberica.org/v2/tpl/research/ui/json/json.php

Builds Public Dédalo data for publication. Use this online tool to test your data, and remember to always enter your authentication code when running a test call.
This API is focused on Oral History files and is for general purpose. If you need special functions or custom results, you can join the API development team by contacting the source developers (also known as Alex & Paco) at webmaster@render.es

InfoInformative calls

GET/tables_info
Info about tables schema
GET/publication_schema
Info about automatic portal resolution map

RecordsGeneric data get functions

POST/records
Get records from DDBB

ThesaurusSpecific hierarchy and thesaurus functions

POST/reel_terms
Get reel indexed terms
POST/fragment_from_index_locator
Build fragment of text and video from a index locator
POST/thesaurus_root_list
Get first level of terms from thesaurus
POST/thesaurus_random_term
A random thesaurus term name
POST/thesaurus_search
Search into thesaurus term
POST/thesaurus_autocomplete
Predictive autocomplete search
POST/thesaurus_term
Get thesaurus term objects (one or various)
POST/thesaurus_indexation_node
Indexation object with all required info
POST/thesaurus_video_view_data
Video player data
POST/thesaurus_children
Search all children of current term
POST/thesaurus_parents
Search all parents of current term

FreeSearch functions in transcription text

POST/free_search
Find word/s in DDBB

Video viewUtils for get video player general data

POST/full_reel
Full transcriptions data

GlobalSearch in all data functions

POST/global_search
Find word/s in table global_search. Require a special server config!

UtilsSpecial utils

POST/combi
Combined calls to api in one request

Models

#/definitions/table_listtable_list{...}
string
example: section_id
[...]
#/definitions/rowrow{...}
string
example: Request done
#/definitions/item_responseitem_response{...}
#/definitions/item_objectitem_object{...}
#/definitions/responseresponse{...}
Error