openapi: 3.0.0
info:
title: REST activities report_types API
description: The REST API is used for all API interactions with DataCite services.
contact:
name: DataCite Support
url: https://support.datacite.org
email: support@datacite.org
license:
name: MIT
url: https://raw.githubusercontent.com/datacite/lupo/master/LICENSE
version: 2.3.0
servers:
- url: https://api.test.datacite.org
description: Staging server
- url: https://api.datacite.org
description: Production server
security:
- {}
- BasicAuth: []
- bearerAuth: []
tags:
- name: report_types
paths:
/report_types:
get:
summary: This resource returns a list of reports supported by the API for a given application.
tags:
- report_types
parameters:
- name: platform
in: query
description: The name of the Platform the report data is being requested for. This can be omitted if the service provides report data for only one platform.
schema:
type: string
responses:
'200':
description: List of reports supported by this service for this application.
content:
application/json:
schema:
type: array
items:
$ref: '#/definitions/Report_Types'
default:
description: unexpected error
content:
application/json:
schema:
$ref: '#/definitions/Error_Model'
components:
securitySchemes:
BasicAuth:
type: http
scheme: basic
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT