红小豆数据   ->   API

列出我的应用/表单【listForms】


通过这个API,用户可以得到所有我的应用/表单(我自己的和共享给我的)。

名称: {{baseuri}}/formMgr/listForms

参数:

http方法: GET

步骤


下面是使用步骤

@baseuri = http://localhost:8080/cubedrive-webapp
@username= admin
@password= abcabc
@xAuthToken=bbb6c793-832c-4733-9601-a023366d918f

###
GET {{baseuri}}/getLogin?j_username={{username}}&j_password={{password}}

###
POST {{baseuri}}/formMgr/listForms
X-Auth-Token: {{xAuthToken}}
Content-Type: application/json;charset=UTF-8; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
    

查询结果


{
  "success": true,
  "totalCount": "1",
  "results": [
    {
      "id": "6671575366949146624",
      "formTitle": "债券数据",
      "formUrl": "https://app.redbeandata.cn/cubedrive/app/form/d-ZR3J8SF69oags9qpqdNjRUxZbVrNTL",
      "icon": "fa-list-alt",
      "description": "",
      "type": "public",
      "tag": null,
      "content": null,
      "defaultPermission": 2,
      "repeatEnter": false,
      "expireDatetime": null,
      "permission": null,
      "settings": { ... },
      "pdfTemplate": null,
      "sharePermission": null,
      "formDocumentId": "aCGVxh4dgtI",
      "innerLink": null,
      "author": true
    }
  ],
  "metaData": { ... }
}