獲取 JavaScript/CSS 自定義項
本頁面使用機器翻譯而成。
機器翻譯免責聲明
獲取 JavaScript/CSS 自定義項
獲取應用的 JavaScript/CSS 自定義設置。
URL
獲取生產環境的設置時,URL 與獲取測試環境的設置時不同。
如果要獲取生產環境的設置
- 常規應用
- https://sample.cybozu.com/k/v1/app/customize.json
- 建立訪客空間
- https://sample.cybozu.com/k/guest/
GUEST_SPACE_ID
/v1/app/customize.json
獲取操作測試環境的設置
- 常規應用
- https://sample.cybozu.com/k/v1/preview/app/customize.json
- 建立訪客空間
- https://sample.cybozu.com/k/guest/
GUEST_SPACE_ID
/v1/preview/app/customize.json
HTTP 方法
GET
所需許可權
- 應用程式管理
請求
參數
參數名稱 | 型 | 必須 | 說明 |
---|---|---|---|
app | 數位或字串 | 必須 | 應用ID |
範例請求(如果要在網址中包含參數 )
URL
https://sample.cybozu.com/k/v1/app/customize.json?app=8
頁眉
|
|
關於請求頭,請參見 kintone REST API的通用規範 。
範例要求(如果要在要求正文中包含參數)
URL
https://sample.cybozu.com/k/v1/app/customize.json
頁眉
|
|
關於請求頭,請參見 kintone REST API的通用規範 。
身體
|
|
回應
財產
屬性名稱 | 型 | 說明 |
---|---|---|
scope | 字串 | 定製範圍
|
desktop | 物件 | 有關電腦上載入的檔案的資訊 |
desktop.js | 陣列 | JavaScript檔案 |
desktop.js[].type | 字串 | 如何指定檔
|
desktop.js[].url | 字串 | 檔的 URL |
desktop.js[].file | 物件 | 附件資訊 |
desktop.js[].file.contentType | 字串 | MIME 類型 |
desktop.js[].file.fileKey | 字串 | 檔鍵 |
desktop.js[].file.name | 字串 | 檔案名稱 |
desktop.js[].file.size | 字串 | 檔大小 單位為位元組。 |
desktop.css | 陣列 | CSS 檔案清單 |
desktop.css[].type | 字串 | 如何指定檔
|
desktop.css[].url | 字串 | 檔的 URL |
desktop.css[].file | 物件 | 附件資訊 |
desktop.css[].file.contentType | 字串 | MIME 類型 |
desktop.css[].file.fileKey | 字串 | 檔鍵 |
desktop.css[].file.name | 字串 | 檔案名稱 |
desktop.css[].file.size | 字串 | 檔大小 單位為位元組。 |
mobile | 物件 | 有關在行動裝置上載入的檔案的資訊 |
mobile.js | 陣列 | JavaScript檔案 |
mobile.js[].type | 字串 | 如何指定檔
|
mobile.js[].url | 字串 | 檔的 URL |
mobile.js[].file | 物件 | 附件資訊 |
mobile.js[].file.contentType | 字串 | MIME 類型 |
mobile.js[].file.fileKey | 字串 | 檔鍵 |
mobile.js[].file.name | 字串 | 檔案名稱 |
mobile.js[].file.size | 字串 | 檔大小 單位為位元組。 |
mobile.css | 陣列 | CSS 檔案清單 |
mobile.css[].type | 字串 | 如何指定檔
|
mobile.css[].url | 字串 | 檔的 URL |
mobile.css[].file | 物件 | 附件資訊 |
mobile.css[].file.contentType | 字串 | MIME 類型 |
mobile.css[].file.fileKey | 字串 | 檔鍵 |
mobile.css[].file.name | 字串 | 檔案名稱 |
mobile.css[].file.size | 字串 | 檔大小 單位為位元組。 |
revision | 字串 | 應用設置的修訂號 |
示例回應
|
|
示例代碼
使用 curl 的請求
|
|
發送kintone REST API請求 使用API發送請求
|
|
限制
- 不能使用 API 令牌。