swagger: '2.0' info: version: "1.0.0" title: OpenAIRE datasource API basePath: /api schemes: - http produces: - application/json paths: /datasources: get: description: List the Datasource identifiers. responses: '200': description: OK schema: $ref: '#/definitions/ids' default: description: unexpected error schema: $ref: '#/definitions/errorModel' /datasources/{id}: get: description: Returns Datasource details. parameters: - name: id in: path description: ID of datasource to fetch required: true type: string responses: '200': description: OK schema: $ref: '#/definitions/datasource' default: description: unexpected error schema: $ref: '#/definitions/errorModel' definitions: ids: type: array items: type: string datasource: type: object required: - id - officialname properties: id: type: string officialname: type: string websiteurl: type: string logourl: type: string contactemail: type: string countrycode: type: string countryname: type: string organization: type: string latitude: type: string longitude: type: string timezone: type: string namespaceprefix: type: string collectedfrom: type: string dateofvalidation: type: string registeredby: type: string datasourcecclass: type: string dateofcollection: type: string typology: type: string activationid: type: string description: type: string aggregator: type: string issn: type: string eissn: type: string lissn: type: string api: $ref: '#/definitions/api' api: type: object properties: id: type: string typology: type: string contentdescription: type: string accessprotocol: type: string baseurl: type: string errorModel: type: object required: - code - message properties: code: type: integer format: int32 message: type: string