POST /api/users/135138680/table_preferences
{
  "name": "test_subscriptions_resource",
  "columns": [
    "1",
    "2",
    "3"
  ],
  "table_preference": {
    "name": "test_subscriptions_resource",
    "columns": [
      "1",
      "2",
      "3"
    ]
  }
}
201
{
  "id": 1,
  "name": "test_subscriptions_resource",
  "columns": [
    "1",
    "2",
    "3"
  ],
  "created_at": "2019-11-07 08:53:02 UTC",
  "updated_at": "2019-11-07 08:53:02 UTC"
}

パラメーター

パラメーター名 記述
location_id
任意

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
任意

Set the current organization context for the request

Validations:

  • Must be a Integer

table_preferences
必須

Validations:

  • Must be a Hash

table_preferences[name]
必須

テーブル名

Validations:

  • Must be a String

table_preferences[columns]
任意

ユーザーが選択したコラムの一覧

Validations:

  • Must be an array of any type