ThingWorx REST API > ThingWorx REST 设计
ThingWorx REST 设计
术语
说明
可选
http action
GET、PUT、DELETE、POST
scheme
http、https
host
其中 ThingWorx 正在运行的计算机名称
port
Web 服务器正在监听请求的端口
yes
entity collection
内置的实体集合类型之一。请参阅下表。
entity
用于标识特定特征的名称
characteristic collection
名称,例如 PropertyDefinitionPropertiesVTQThingNameServiceDefinition。请参阅下表。
characteristic
accept header
正在请求的 HTTP 内容格式;必须为应用程序/json、文本/xml、文本/html 或文本/csv
yes
content type header
正在提供的 HTTP 内容格式;必须为应用程序/json、文本/csv、文本/
必填
content
yes
query parameters
yes
内置集合值
ThingWorx 具有有限的实体集合列表。每个实体集合包含相应类型的实体 (例如事物) (例如,/Users 包含所有用户)。
实体集合类型
实体类型
URL
应用程序密钥
/Thingworx/ApplicationKeys
身份验证器
/Thingworx/Authenticators
仪表板
/Thingworx/Dashboards
数据形状
/Thingworx/DataShapes
数据标记
/Thingworx/DataTags
目录服务
/Thingworx/DirectoryServices
本地化表
/Thingworx/LocalizationTables
日志
/Thingworx/Logs
混搭
/Thingworx/Mashups
* 
适用于主数据、混搭模板和小工具实体。
菜单
/Thingworx/Menus
介质
/Thingworx/MediaEntities
模型标记
/Thingworx/ModelTags
网络
/Thingworx/Networks
通知内容
/Thingworx/NotificationContents
通知定义
/Thingworx/NotificationDefinitions
组织
/Thingworx/Organizations
持久化方案提供工具
/Thingworx/PersistenceProviders
项目
/Thingworx/Projects
资源
/Thingworx/Resources
样式定义
/Thingworx/StyleDefinitions
样式主题
/Thingworx/StyleThemes
状态定义
/Thingworx/StateDefinitions
子系统
/Thingworx/Subsystems
事物
/Thingworx/Things
* 
适用于 Wiki、博客、值流、流、数据表、工业连接和集成连接器事物。
事物形态
/Thingworx/ThingShapes
事物模板
/Thingworx/ThingTemplates
用户
/Thingworx/Users
用户组
/Thingworx/Groups
特征集合
特征类型
URL
属性
/Thingworx/Things/ThingName/Properties
属性定义
/Thingworx/Things/ThingName/PropertyDefinitions
PropertiesVTQ (ValueTimeQuality)
/Thingworx/Things/ThingName/PropertiesVTQ
事物名称
/Thingworx/Things/ThingName
服务定义
/Thingworx/Things/ThingName/ServiceDefinitions
相关链接