checkin

チェックインの作成

新規チェックインを行います。

post/v1/checkins

Request body

checked_in_atstring date-time

チェックイン日時

tagsstring[]

タグ

linkstring

オカズリンク (http, https)

notestring

ノート

is_privateboolean

非公開チェックインとして設定

is_too_sensitiveboolean

チェックイン対象のオカズをより過激なオカズとして設定

discard_elapsed_timeboolean

前回チェックインからの経過時間を記録しない

Example request

{
  "checked_in_at": "2020-07-21T19:19:19+0900",
  "tags": [
    "Example",
    "Example_2"
  ],
  "link": "http://example.com",
  "note": "すごく出た"
}

Response

成功

idinteger

チェックインID

checked_in_atstring date-time

チェックイン日時

tagsstring[]

タグ

linkstring

オカズリンク (http, https)

notestring

ノート

is_privateboolean

非公開チェックインとして設定

is_too_sensitiveboolean

チェックイン対象のオカズをより過激なオカズとして設定

discard_elapsed_timeboolean

前回チェックインからの経過時間を記録しない

source'web' | 'csv' | 'webhook' | 'api'

チェックインの登録元

Example response

{
  "checked_in_at": "2020-07-21T19:19:19+0900",
  "tags": [
    "Example",
    "Example_2"
  ],
  "link": "http://example.com",
  "note": "すごく出た",
  "source": "api"
}

Changes

Changed in 7 of the 30 revisions of this API.216

    • added the optional property user to the response with the 200 status

      response-optional-property-added

    • removed the optional property user from the response with the 200 status

      response-optional-property-removed

    • added the optional property user to the response with the 200 status

      response-optional-property-added

    • added the optional property source to the response with the 200 status

      response-optional-property-added

    • the error/violations/items/ response's property type/format changed from string/ to object/ for status 422

      response-property-type-changed

    • added the required property error/violations/items/field to the response with the 422 status

      response-required-property-added

    • added the required property error/violations/items/message to the response with the 422 status

      response-required-property-added

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 16 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog