Get Views

Gets the View settings of a an App.
Method GET
URL https://{subdomain}.kintone.com/k/v1/app/views.json
URL(guest space) https://{subdomain}.kintone.com/k/guest/{SpaceID}/v1/app/views.json
Authentication Password Authentication

Pre-live settings

Apps may hold pre-live settings that have not yet been deployed to the live app.
Access the pre-live settings with the below URL.

URL https://{subdomain}.kintone.com/k/v1/preview/app/views.json
URL(guest space) https://{subdomain}.kintone.com/k/guest/{SpaceID}/v1/preview/app/views.json

Permission

  • Permission to view records are needed when obtaining information of live apps.
  • App Management Permissions are needed when obtaining information of pre-live settings.
  • API Tokens cannot be used with this API.

Request Parameters

Parameter Value Required Description
app Integer Yes The App ID
lang String  

The localized language to retrieve the data in:

  • default: retrieves the default names
  • en: retrieves the localized English names
  • zh: retrieves the localized Chinese names
  • ja: retrieves the localized Japanese names
  • user: retrieves the localized names, in the same language as the language setting* set on the user used for the authentication.

If ignored, the default names will be retrieved.

*If the user language setting is set to "Use Web browser settings", the settings set in the Accept-Language header will be used. If there is no Accept-Language header, the language set in the "Localization" settings in the System Administrator's menu will be used.

Sample Request

JavaScript (using kintone REST API Request)

XMLHttpRequest

Response Parameters

Parameter Type Description
revision String The revision number of the App settings.
views Object An object listing View information.
views.{viewname}.builtinType String The type of the built-in View.
  • ASSIGNEE: The "Assigned to me" View.
    (This list is automatically created if the Process Management settings have been enabled in the app.)

  • Currently, there are no other types of built-in Views.
views.{viewname}.date String The field code set for the Date Field.
Responded for Calendar Views.
views.{viewname}.fields Array The list of field codes for the fields displayed in the View.
Responded for List Views.
views.{viewname}.filterCond String The filter condition as a query.
Check here for more information on query formats.
views.{viewname}.html String The HTML code set for the View.
Responded for Custom Views.
views.{viewname}.id String The View ID.
views.{viewname}.index String The display order (ascending) of the View, when listed with other views.
views.{viewname}.name String The name of the View.
views.{viewname}.pager Boolean The pagination settings.
Responded for Custom Views.
  • true: Enabled
  • false: Disabled
views.{viewname}.sort String The sort order as a query.
Check here for more information on query formats.
views.{viewname}.title String The field code set for the Title Field.
Responded for Calendar Views.
views.{viewname}.type String The type of View.
  • LIST: List View
  • CALENDAR: Calendar View
  • CUSTOM: Custom View

Sample Response

Was this article helpful?
0 out of 0 found this helpful
Comments
Please sign in to leave a comment.