file

GET /files/{fileID}

Changed on

指定したファイルの中身を取得します。

Request

  • Base URL
    https://q.trap.jp/api/1.0
  • Auth
    OAuth 2
    Authorization code: /api/1.0/oauth2/authorize
    Token URL: /api/1.0/oauth2/token scopes: read

Query parameters

dlinteger

ファイルをダウンロードする場合に1を指定する

Response

正常に取得できました。 fileのbinaryを返します。 application/octet-streamで返すことになっていますが、ファイルの形式によっては変わります。

Changes