Loopio-EU(预览版)
Loopio-EU 连接器允许访问 Loopio 响应库。 它提供一组作用于使用 Loopio 库和项目。
此连接器在以下产品和区域中可用:
| 服务 | Class | 区域 |
|---|---|---|
| Copilot Studio | 高级 | 除以下各项外的所有 Power Automate 区域 : - 美国政府 (GCC) - 美国政府 (GCC High) - 由世纪互联运营的中国云 - 美国国防部(DoD) |
| 逻辑应用程序 | 标准 | 除以下各项外的所有 逻辑应用区域 : - Azure 政府区域 - Azure 中国区域 - 美国国防部(DoD) |
| Power Apps | 高级 | 除以下各项外的所有 Power Apps 区域 : - 美国政府 (GCC) - 美国政府 (GCC High) - 由世纪互联运营的中国云 - 美国国防部(DoD) |
| Power Automate | 高级 | 除以下各项外的所有 Power Automate 区域 : - 美国政府 (GCC) - 美国政府 (GCC High) - 由世纪互联运营的中国云 - 美国国防部(DoD) |
| 联系人 | |
|---|---|
| Name | Loopio |
| URL | https://www.loopio.com |
| support@loopio.com |
| 连接器元数据 | |
|---|---|
| 发布者 | Loopio |
| 网站 | https://www.loopio.com |
| 隐私策略 | https://loopio.com/privacy |
| 类别 | 协作;内容和文件 |
Loopio 连接器
这是 Loopio Prod-EU env 的连接器。 连接器提供了 Loopio Api 作为作列表,可用于在 Co Pilot 中创建代理。
先决条件
需要执行以下作才能继续:Microsoft Power Automate 的登录访问权限。 具有自定义连接器功能的Microsoft Power Apps 或 Power Automate 计划。 注意:请联系 IT 管理员,了解与 Power automate 相关的任何问题
认证。
此连接器使用 OAuth2 身份验证。
Documentation
有关 Loopio 连接器作的详细信息,请参阅我们的 REST Api 文档 https://loopio.stoplight.io/
支持的作
连接器支持以下作:
-
Search Library Entries:基于搜索词搜索库条目 -
Create Library Entry:创建新的库条目 -
Get Library Entry:提取单个库条目 -
Delete Library Entry:删除单个库条目 -
Update Library Core Property:更新现有库条目的属性 -
Get Library Attachments:提取具有附件的库条目 -
List Stacks:获取所有堆栈、类别和子类别 ID 的列表
获取帮助或提供反馈
如果你有任何问题、功能请求或有一般反馈,请访问我们的网站 https://loopio.com。
限制
| 名称 | 调用 | 续订期 |
|---|---|---|
| 每个连接的 API 调用数 | 100 | 60 秒 |
操作
| 为库条目生成摘要 |
根据内容生成库条目的摘要。 |
| 从 JWT 获取用户的信息 |
从 JWT 获取用户的信息 |
| 列出可访问的堆栈 |
此作将列出可访问的堆栈。 |
| 创建库条目 |
创建包含问答的新库条目。 |
| 创建项目 |
此作用于创建项目 |
| 删除库条目 |
此作将删除与 ID 关联的库条目。 |
| 将 Webhook 的签名机密刷新为新值 |
将 Webhook 的签名机密刷新为新值 |
| 搜索库条目 |
此作将基于搜索字符串返回库条目列表,并且每个条目仅显示 ID 值。 |
| 更改事件订阅详细信息 |
更改事件订阅详细信息 |
| 更新库核心属性 |
此作将更新库条目的核心属性。 |
| 更新项目的状态 |
此作用于更新项目状态 |
| 获取事件订阅详细信息 |
获取事件订阅详细信息 |
| 获取单个库条目 |
此作将提取与提供的库条目 ID 关联的库条目。 |
| 获取可与项目交互的项目 |
获取可访问的项目 |
| 获取库附件 |
此作提取与指定库条目 ID 关联的附件列表。 |
| 获取项目摘要 |
获取项目的状态摘要 |
| 获取项目数据 |
获取项目的数据 |
为库条目生成摘要
根据内容生成库条目的摘要。
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
libraryEntryId
|
libraryEntryId | True | integer |
库条目的 ID |
|
摘要长度
|
length | string |
生成的摘要的摘要长度 |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
生成的摘要
|
data.newAnswerText | string |
newAnswerText |
|
库条目 ID
|
data.libraryEntryId | integer |
libraryEntryId |
|
摘要长度
|
data.summaryLength | string |
summaryLength |
从 JWT 获取用户的信息
列出可访问的堆栈
此作将列出可访问的堆栈。
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
Fields
|
fields | string |
响应中包含的字段。 |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
项目总数
|
totalItems | integer |
项目总数。 |
|
总页数
|
totalPages | integer |
总页数。 |
|
items
|
items | array of object | |
|
堆栈 ID
|
items.id | integer |
堆栈 ID。 |
|
堆栈名称
|
items.name | string |
堆栈名称 |
|
categories
|
items.categories | array of object |
链接类别列表 |
|
类别 ID
|
items.categories.id | integer |
类别 ID |
|
堆栈 ID
|
items.categories.stackID | integer |
类别所属堆栈的堆栈 ID |
|
Cateogry 名称
|
items.categories.name | string |
类别名称 |
|
subCategories
|
items.categories.subCategories | array of object |
链接子类别列表 |
|
子类别 ID
|
items.categories.subCategories.id | integer |
SubCategory Id |
|
子类别堆栈 ID
|
items.categories.subCategories.stackID | integer |
它所属的 Stack 的堆栈 ID |
|
子类别类别 ID
|
items.categories.subCategories.categoryID | integer |
它所属的类别的类别 ID |
|
子类别名称
|
items.categories.subCategories.name | string |
SubCategory 名称 |
创建库条目
创建包含问答的新库条目。
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
答
|
text | True | string |
输入答案文本。 |
|
stackID
|
stackID | True | integer |
输入堆栈 ID。 |
|
categoryID
|
categoryID | integer |
输入类别 ID。 |
|
|
subCategoryID
|
subCategoryID | integer |
输入子类别 ID。 |
|
|
languageCode
|
languageCode | string |
输入语言代码(例如“en”)进行英语。 |
|
|
questionText
|
questionText | True | string |
输入问题文本。 |
|
questionComplianceOption
|
questionComplianceOption | string |
输入问题符合性选项。 |
|
|
tags
|
tags | array of string |
tags |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
库条目 ID
|
id | integer |
库条目 ID |
|
问题
|
questions | array of object |
创建库条目中的问题。 |
|
问题 ID
|
questions.id | integer |
问题 ID。 |
|
问题文本
|
questions.text | string |
问题文本。 |
|
符合性选项 ID
|
questions.complianceOption.id | integer |
符合性选项 ID |
|
符合性选项文本
|
questions.complianceOption.text | string |
符合性选项文本 |
|
文本消息
|
answer.text | string |
应答文本 |
|
脚注
|
answer.footnotes | array of object |
答案中的脚注。 |
|
脚注 ID
|
answer.footnotes.id | integer |
脚注 ID |
|
脚注文本
|
answer.footnotes.text | string |
脚注文本 |
|
警报文本
|
alertText | string |
警报文本 |
|
语言代码
|
languageCode | string |
编写库条目的语言 |
|
id
|
creator.id | integer |
创建者 ID。 |
|
姓名
|
creator.name | string |
创建者名称。 |
|
id
|
lastUpdatedBy.id | integer |
上次按 ID 更新。 |
|
姓名
|
lastUpdatedBy.name | string |
上次更新的人员姓名。 |
|
id
|
lastReviewedBy.id | integer |
上次按 ID 审阅。 |
|
姓名
|
lastReviewedBy.name | string |
上次审阅者的姓名。 |
|
id
|
libraryEntryOwner.id | integer |
libraryentryowner 的 id。 |
|
姓名
|
libraryEntryOwner.name | string |
库条目所有者的名称。 |
|
缩写
|
libraryEntryOwner.initials | string |
库条目所有者的缩写。 |
|
创建日期
|
createdDate | date-time |
创建此库条目的日期 |
|
上次更新日期
|
lastUpdatedDate | date-time |
上次更新库条目的时间 |
|
上次审阅日期
|
lastReviewedDate | date-time |
上次查看库条目的时间 |
|
附件计数
|
attachmentCount | integer |
库条目具有的附件数 |
|
状态
|
status | string |
库条目的当前状态 |
|
标记
|
tags | array of string |
标记 |
|
内联图像
|
inlineImages | array of object |
访问内联图像的 URL。 URL 将在 10 分钟内过期。 |
|
Inlineimages ID
|
inlineImages.id | integer |
内联图像 ID。 |
|
Inlineimages url
|
inlineImages.url | string |
内联图像 URL。 |
|
time
|
scores.time | integer |
时间分数。 |
|
使用情况
|
scores.usage | integer |
使用情况分数。 |
|
freshness
|
scores.freshness | integer |
新鲜度分数。 |
|
id
|
location.stack.id | integer |
堆栈 ID。 |
|
姓名
|
location.stack.name | string |
堆栈名称。 |
|
id
|
location.category.id | integer |
类别 ID。 |
|
姓名
|
location.category.name | string |
类别名称。 |
|
id
|
location.subCategory.id | integer |
子类别 ID。 |
|
姓名
|
location.subCategory.name | string |
子类别名称。 |
创建项目
此作用于创建项目
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
姓名
|
name | True | string | |
|
projectType 项目类型
|
projectType | True | string | |
|
描述
|
description | string | ||
|
companyName
|
companyName | True | string | |
|
截止日期
|
dueDate | True | date-time |
输入日期/时间将转换为 UTC,然后推送到一天结束时间。 |
|
createdType
|
createdType | string | ||
|
id
|
id | True | integer | |
|
customProjectFieldValues
|
customProjectFieldValues | object |
任何自定义项目字段的值映射。 缺少的字段将设置为 null。 只能设置“project”作为其信息源的字段。 |
|
|
mergeVariableValues
|
mergeVariableValues | object |
任何现有项目合并变量的值映射。 缺少的变量将设置为 null。 |
|
|
businessUnitId
|
businessUnitId | integer |
要与项目关联的业务部门 ID。 |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
项目 ID
|
id | integer |
项目的 ID |
|
项目名称
|
name | string |
项目的名称 |
|
项目类型
|
projectType | string |
项目类型 |
|
项目状态
|
status | string |
项目的状态 |
|
公司名称
|
companyName | string |
公司名称 |
|
创建日期
|
createdDate | string |
项目创建日期 |
|
截止日期
|
dueDate | string |
项目的截止日期 |
|
所有者 ID
|
owner.id | integer |
所有者的 ID |
|
所有者名称
|
owner.name | string |
所有者的名称 |
|
创建者 ID
|
creator.id | integer |
Creator 的 ID |
|
创建者名称
|
creator.name | string |
Creator 的名称 |
|
Description
|
description | string |
项目说明 |
|
业务部门 ID
|
businessUnit.id | integer |
业务部门的 ID |
|
业务部门名称
|
businessUnit.name | string |
业务部门的名称 |
删除库条目
此作将删除与 ID 关联的库条目。
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
库条目 ID
|
libraryEntryId | True | integer |
与要删除的库条目关联的库条目 ID。 |
将 Webhook 的签名机密刷新为新值
将 Webhook 的签名机密刷新为新值
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
SubscriptionId(订阅ID)
|
subscriptionId | True | integer |
订阅的 ID |
返回
- Body
- WebhookSubscription
搜索库条目
此作将基于搜索字符串返回库条目列表,并且每个条目仅显示 ID 值。
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
页
|
page | number |
输入页码。 |
|
|
页面大小
|
pageSize | number |
输入每个页面应包含的记录数。 |
|
|
搜索查询
|
searchQuery | string |
输入搜索字符串。 |
|
|
具有附件
|
hasAttachment | boolean |
输入 true 或 false 以检查条目是否具有附件。 |
|
|
语言
|
language | string |
输入语言。 |
|
|
标记
|
tags | string |
输入用逗号分隔的标记。 |
|
|
在问题中搜索
|
searchInQuestions | boolean |
输入 true 或 false 以搜索问题。 |
|
|
在答案中搜索
|
searchInAnswers | boolean |
输入 true 或 false 以在答案中搜索。 |
|
|
在标记中搜索
|
searchInTags | boolean |
输入 true 或 false 以在标记中搜索。 |
|
|
精确短语
|
exactPhrase | boolean |
输入 true 或 false 以获取完全匹配的条目。 |
|
|
Synonyms
|
synonyms | boolean |
输入 true 或 false 以设置包含搜索查询同义词的条目。 |
|
|
上次更新时间
|
lastUpdatedDate | string |
输入具有搜索条件的上次更新时间,例如:{“gte”:“2024-01-01T00:00:00Z”},其中 gte 代表大于或等于。 |
|
|
上次审阅日期
|
lastReviewedDate | string |
输入搜索条件为 {“lte”:“2024-01-01T00:00:00Z”} 的上次审阅日期,其中 lte 代表小于或等于。 |
|
|
类别 ID
|
categoryID | number |
输入类别 ID。 |
|
|
SubCategory ID
|
subCategoryID | number |
输入子类别 ID。 |
|
|
堆栈 ID
|
stackID | number |
输入堆栈 ID。 |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
总计项
|
totalItems | integer |
总计项。 |
|
总页数
|
totalPages | integer |
总页数。 |
|
items
|
items | array of object |
items |
|
库条目 ID
|
items.id | integer |
库条目 ID。 |
|
问题
|
items.questions | array of object |
问题 |
|
问题 ID
|
items.questions.id | integer |
id |
|
问题文本
|
items.questions.text | string |
问题文本。 |
|
id
|
items.questions.complianceOption.id | integer |
id |
|
文本消息
|
items.questions.complianceOption.text | string |
文本消息 |
|
应答文本
|
items.answer.text | string |
回答文本。 |
|
脚注
|
items.answer.footnotes | array of object |
脚注详细信息。 |
|
脚注 ID
|
items.answer.footnotes.id | integer |
脚注 ID。 |
|
脚注名称
|
items.answer.footnotes.name | string |
姓名 |
|
语言代码
|
items.languageCode | string |
语言代码。 |
|
id
|
items.creator.id | integer |
id |
|
姓名
|
items.creator.name | string |
姓名 |
|
|
items.lastUpdatedBy.id | integer |
id |
|
|
items.lastUpdatedBy.name | string |
姓名 |
|
|
items.lastReviewedBy.id | integer |
id |
|
|
items.lastReviewedBy.name | string |
姓名 |
|
|
items.libraryEntryOwner.id | integer |
id |
|
|
items.libraryEntryOwner.name | string |
姓名 |
|
附件计数
|
items.attachmentCount | integer |
attachmentCount |
|
创建日期
|
items.createdDate | string |
创建日期 |
|
上次更新时间
|
items.lastUpdatedDate | string |
lastUpdatedDate |
|
上次审阅日期
|
items.lastReviewedDate | string |
lastReviewedDate |
|
状态
|
items.status | string |
状态 |
|
tags
|
items.tags | array of string |
tags |
|
time
|
items.scores.time | integer |
time |
|
使用情况
|
items.scores.usage | integer |
使用情况 |
|
freshness
|
items.scores.freshness | integer |
freshness |
|
items
|
items.InlineImages.items | array of object |
items |
|
id
|
items.InlineImages.items.id | integer |
id |
|
网址
|
items.InlineImages.items.url | string |
网址 |
|
|
items.location.stack.id | integer |
id |
|
|
items.location.stack.name | string |
姓名 |
|
|
items.location.category.id | integer |
id |
|
|
items.location.category.name | string |
姓名 |
|
|
items.location.subCategory.id | integer |
id |
|
|
items.location.subCategory.name | string |
姓名 |
更改事件订阅详细信息
更改事件订阅详细信息
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
SubscriptionId(订阅ID)
|
subscriptionId | True | integer |
订阅的 ID |
|
events
|
events | string | ||
|
webhookUrl
|
webhookUrl | uri |
Webhook URL |
|
|
状态
|
status | string |
状态 |
返回
- Body
- WebhookSubscription
更新库核心属性
此作将更新库条目的核心属性。
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
需要更新核心属性的库条目 ID
|
libraryEntryId | True | integer |
库条目 ID。 |
|
op
|
op | True | string |
输入替换或添加等作。 |
|
路径
|
path | True | string |
输入需要完成更新的路径,例如 /answer/text。 它应以 /开头。 |
|
value
|
value | True | string |
输入存储所需的值。 |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
库条目 ID
|
id | integer |
库条目 ID。 |
|
问题
|
questions | array of object |
库条目中的问题。 |
|
问题 ID
|
questions.id | integer |
问题 ID。 |
|
问题文本
|
questions.text | string |
问题文本。 |
|
符合性选项 ID
|
questions.complianceOption.id | integer |
符合性选项 ID。 |
|
符合性选项文本
|
questions.complianceOption.text | string |
符合性选项文本。 |
|
文本消息
|
answer.text | string |
回答文本。 |
|
脚注
|
answer.footnotes | array of object |
脚注 |
|
脚注 ID
|
answer.footnotes.id | integer |
脚注 ID。 |
|
脚注文本
|
answer.footnotes.name | string |
脚注文本。 |
|
AlertText
|
alertText | string |
警报文本。 |
|
LanguageCode
|
languageCode | string |
语言代码。 |
|
id
|
creator.id | integer |
创建者 ID。 |
|
姓名
|
creator.name | string |
创建者名称。 |
|
id
|
lastUpdatedBy.id | integer |
上次按 ID 更新。 |
|
姓名
|
lastUpdatedBy.name | string |
上次按名称更新。 |
|
id
|
lastReviewedBy.id | integer |
上次按 ID 审阅。 |
|
姓名
|
lastReviewedBy.name | string |
上次按名称查看。 |
|
id
|
libraryEntryOwner.id | integer |
库条目所有者 ID。 |
|
姓名
|
libraryEntryOwner.name | string |
库条目所有者名称。 |
|
缩写
|
libraryEntryOwner.initials | string |
库条目所有者缩写。 |
|
创建日期
|
createdDate | string |
创建日期。 |
|
上次更新时间
|
lastUpdatedDate | string |
上次更新时间。 |
|
上次审阅日期
|
lastReviewedDate | string |
上次审阅日期。 |
|
附件计数
|
attachmentCount | integer |
附件计数。 |
|
状态
|
status | string |
状态。 |
|
标记
|
tags | array of string |
标记 |
|
inlineImages
|
inlineImages | array of object |
inlineImages 详细信息。 |
|
内联图像 ID
|
inlineImages.id | integer |
内联图像 ID。 |
|
内联图像 URL
|
inlineImages.url | string |
内联图像 URL。 |
|
time
|
scores.time | integer |
对时间进行评分。 |
|
使用情况
|
scores.usage | integer |
对使用情况进行评分。 |
|
freshness
|
scores.freshness | integer |
得分新鲜度。 |
|
id
|
location.stack.id | integer |
堆栈 ID。 |
|
姓名
|
location.stack.name | string |
堆栈名称。 |
|
id
|
location.category.id | integer |
类别 ID。 |
|
姓名
|
location.category.name | string |
类别名称。 |
|
id
|
location.subCategory.id | integer |
子类别 ID。 |
|
姓名
|
location.subCategory.name | string |
子类别名称。 |
更新项目的状态
此作用于更新项目状态
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
项目 ID
|
projectId | True | integer |
要更新的项目的 ID |
|
状态
|
status | string |
项目状态 |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
项目 ID
|
id | integer |
项目的 ID |
|
项目名称
|
name | string |
项目的名称 |
|
项目类型
|
projectType | string |
项目类型 |
|
项目状态
|
status | string |
项目的状态 |
|
公司名称
|
companyName | string |
公司名称 |
|
创建日期
|
createdDate | string |
项目创建日期 |
|
截止日期
|
dueDate | string |
项目的截止日期 |
|
所有者 ID
|
owner.id | integer |
所有者的 ID |
|
所有者名称
|
owner.name | string |
所有者的名称 |
|
创建者 ID
|
creator.id | integer |
Creator 的 ID |
|
创建者名称
|
creator.name | string |
Creator 的名称 |
|
Description
|
description | string |
项目说明 |
|
业务部门 ID
|
businessUnit.id | integer |
业务部门的 ID |
|
业务部门名称
|
businessUnit.name | string |
业务部门的名称 |
获取事件订阅详细信息
获取事件订阅详细信息
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
SubscriptionId(订阅ID)
|
subscriptionId | True | integer |
订阅的 ID |
返回
- Body
- WebhookSubscription
获取单个库条目
此作将提取与提供的库条目 ID 关联的库条目。
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
库条目 ID
|
libraryEntryId | True | integer |
要提取的库条目的 ID。 |
|
值@mergeVariables在答案中替换合并变量占位符
|
inline[] | array |
唯一允许的值将在 @mergeVariables 答案文本中替换合并变量占位符。 库合并变量将替换为相应的值,项目合并变量将替换为方括号中的变量名称(例如 [客户端名称])。 |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
库条目 ID
|
id | integer |
库条目 ID。 |
|
问题
|
questions | array of object |
库条目中的问题。 |
|
问题 ID
|
questions.id | integer |
问题 ID。 |
|
问题文本
|
questions.text | string |
问题文本 |
|
符合性选项 ID
|
questions.complianceOption.id | integer |
符合性选项 ID。 |
|
符合性选项文本
|
questions.complianceOption.text | string |
符合性选项文本。 |
|
文本消息
|
answer.text | string |
回答文本。 |
|
脚注
|
answer.footnotes | array of object |
脚注详细信息。 |
|
脚注 ID
|
answer.footnotes.id | integer |
脚注 ID。 |
|
脚注名称
|
answer.footnotes.name | string |
脚注名称。 |
|
警报文本
|
alertText | string |
警报文本。 |
|
语言代码
|
languageCode | string |
语言代码。 |
|
id
|
creator.id | integer |
创建者 ID。 |
|
姓名
|
creator.name | string |
创建者名称。 |
|
id
|
lastUpdatedBy.id | integer |
lastUpdatedBy Id。 |
|
姓名
|
lastUpdatedBy.name | string |
上次更新库条目的人员的名称。 |
|
id
|
lastReviewedBy.id | integer |
上次按 ID 审阅。 |
|
姓名
|
lastReviewedBy.name | string |
上次查看库条目的人员的名称。 |
|
id
|
libraryEntryOwner.id | integer |
库条目所有者的 ID。 |
|
姓名
|
libraryEntryOwner.name | string |
库条目所有者的名称。 |
|
缩写
|
libraryEntryOwner.initials | string |
库条目所有者的缩写。 |
|
创建日期
|
createdDate | date-time |
库条目的创建日期。 |
|
上次更新日期
|
lastUpdatedDate | date-time |
上次更新库条目的时间。 |
|
上次审阅日期
|
lastReviewedDate | date-time |
上次查看库条目的时间。 |
|
附件计数
|
attachmentCount | integer |
库条目具有的附件数。 |
|
|
status | string |
库条目的当前状态。 |
|
tags
|
tags | array of string |
标签。 |
|
inlineImages
|
inlineImages | array of object |
访问内联图像的 URL。 URL 将在 10 分钟内过期。 |
|
内联图像 ID
|
inlineImages.id | integer |
内联图像 ID。 |
|
内联图像 URL
|
inlineImages.url | string |
内联图像的 URL。 |
|
time
|
scores.time | integer |
时间分数。 |
|
使用情况
|
scores.usage | integer |
使用情况分数。 |
|
freshness
|
scores.freshness | integer |
新鲜度分数。 |
|
id
|
location.stack.id | integer |
堆栈 ID。 |
|
姓名
|
location.stack.name | string |
堆栈名称。 |
|
id
|
location.category.id | integer |
类别 ID。 |
|
姓名
|
location.category.name | string |
类别名称。 |
|
id
|
location.subCategory.id | integer |
子类别 ID。 |
|
姓名
|
location.subCategory.name | string |
子类别名称。 |
获取可与项目交互的项目
获取可访问的项目
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
页码
|
page | integer |
页码 |
|
|
页面大小
|
pageSize | integer |
要返回的项数 |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
总项目数
|
totalItems | integer |
总项目数 |
|
totalPages
|
totalPages | integer |
totalPages |
|
items
|
items | array of object |
items |
|
id
|
items.id | integer |
id |
|
姓名
|
items.name | string |
姓名 |
|
projectType 项目类型
|
items.projectType | string |
projectType 项目类型 |
|
状态
|
items.status | string |
状态 |
|
companyName
|
items.companyName | string |
companyName |
|
创建日期
|
items.createdDate | string |
创建日期 |
|
截止日期
|
items.dueDate | string |
截止日期 |
|
id
|
items.owner.id | integer |
项目所有者 ID。 |
|
姓名
|
items.owner.name | string |
姓名 |
|
id
|
items.creator.id | integer |
项目创建者 ID。 |
|
姓名
|
items.creator.name | string |
姓名 |
|
描述
|
items.description | string |
描述 |
获取库附件
此作提取与指定库条目 ID 关联的附件列表。
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
需要为其提取附件的库条目 ID
|
libraryEntryId | True | integer |
库条目 ID。 |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
items
|
items | array of object |
items |
|
附件 ID
|
items.id | integer |
附件 ID。 |
|
附件文件名
|
items.filename | string |
附件文件名。 |
|
附件文件扩展名
|
items.fileExtension | string |
附件文件扩展名。 |
|
附件状态
|
items.status | string |
附件状态。 |
|
附件大小
|
items.size | integer |
附件大小。 |
|
id
|
items.creator.id | integer |
附件创建者 ID。 |
|
姓名
|
items.creator.name | string |
附件创建者名称。 |
|
附件创建日期
|
items.createdDate | string |
附件创建日期。 |
|
附件 Guid
|
items.guid | string |
附件 guid。 |
|
附件 URL
|
items.url | string |
附件 URL。 |
|
附件上次更新的日期/时间
|
items.lastUpdated | string |
附件上次更新的日期时间。 |
|
上次更新的附件日期
|
items.lastUpdatedDate | string |
上次更新的附件日期。 |
获取项目摘要
获取项目的状态摘要
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
项目 ID
|
projectId | True | integer |
项目 ID |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
id
|
id | integer |
id |
|
姓名
|
name | string |
姓名 |
|
状态
|
status | string |
状态 |
|
companyName
|
companyName | string |
companyName |
|
截止日期
|
dueDate | string |
截止日期 |
|
id
|
owner.id | integer |
项目所有者 ID。 |
|
姓名
|
owner.name | string |
姓名 |
|
描述
|
description | string |
描述 |
|
projectType 项目类型
|
projectType | string |
projectType 项目类型 |
|
isComplete
|
isComplete | boolean |
isComplete |
|
未分配
|
questions.unassigned | integer |
未分配 |
|
分配
|
questions.assigned | integer |
分配 |
|
评价
|
questions.review | integer |
评价 |
|
complete
|
questions.complete | integer |
complete |
|
总
|
questions.total | integer |
总 |
|
总
|
workdays.total | integer |
总 |
|
left
|
workdays.left | integer |
left |
|
过去了
|
workdays.elapsed | integer |
过去了 |
获取项目数据
获取项目的数据
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
项目 ID
|
projectId | True | integer |
项目 ID |
|
Fields
|
fields | string |
Fields |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
id
|
id | integer |
id |
|
姓名
|
name | string |
姓名 |
|
状态
|
status | string |
状态 |
|
companyName
|
companyName | string |
companyName |
|
创建日期
|
createdDate | string |
创建日期 |
|
截止日期
|
dueDate | string |
截止日期 |
|
id
|
owner.id | integer |
项目所有者 ID。 |
|
姓名
|
owner.name | string |
姓名 |
|
id
|
creator.id | integer |
项目创建者 ID。 |
|
姓名
|
creator.name | string |
姓名 |
|
描述
|
description | string |
描述 |
触发器
| 创建新的事件订阅 |
创建新的事件订阅
此处所述的回调 URL 验证将自动作为此请求的一部分进行。 有关处理 Webhook 回调请求的帮助,可在此处找到
参数
| 名称 | 密钥 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
events
|
events | True | array of string |
事件 |
返回
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
事件
|
event | SubscribableEvent |
定义
IdentifyingUserData
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
|
id | integer |
用户 ID |
|
|
customerId | integer |
客户 ID |
|
firstName
|
firstName | string |
用户的名字 |
|
lastName
|
lastName | string |
用户的姓氏 |
|
电子邮件
|
string |
用户的电子邮件 |
|
|
客户名称
|
customerName | string |
用户所属的公司的名称 |
|
子域
|
subdomain | string |
用户的 Loopio 客户子域 |
|
分层
|
tier | string |
用户的 Loopio 实例的服务层 |
|
activeTimezone
|
activeTimezone | string |
时区 Loopio 与用户关联 |
SubscribableEvent
WebhookStatus
WebhookSubscription
| 名称 | 路径 | 类型 | 说明 |
|---|---|---|---|
|
id
|
id | integer |
id |
|
webhookUrl
|
webhookUrl | uri |
Webhook URL |
|
events
|
events | array of SubscribableEvent |
events |
|
状态
|
status | WebhookStatus |
状态 |
|
id
|
creator.id | integer |
Webhook 创建者 ID。 |