使用 PHP 库在获取视图 API 中获取跑道 app_id
Get Podio app_id in Get View API using PHP Library
我正在使用跑道 API 通过跑道 PHP 库获取视图:
PodioView::get( $view_id );
示例响应是:
{
"sort_by": How the results should be sorted, see the area for details.
"sort_desc": True if the result should sorted descending, false otherwise,
"filters": The filters on this view
[
{
"key": The key of the filter (see the area for details),
"values": The value(s) to be used for filtering, depends on the type of field. See the area for details.
"humanized_values": A human-friendly text representation of values,
}
],
"fields": Any specific settings for fields
{
"{field_id}": The setting for the given field
{
"delta_offset": The offset from the fields normal delta,
"width": Any specific width the field is rendered as,
"hidden": True if the field is hidden, False otherwise,
"use": The use of the column either "x_axis" or "y_axis", if any
}
},
"groupings": individual groups data, if grouping is present, otherwise {}
{
"total": total count of items in all groups,
"groups": [{
"count": items count of the single group,
"avatar": url of users avatar when grouping by contact or created_by, otherwise null
"color": color of a category option when grouping by category field, otherwise null,
"value": a unique value for each group,
"label": a text label for each group
}
]
},
"grouping": grouping configuration, if grouping is present, otherwise {}
{
"type": "field" or "revision" (grouping by an app field or by created_by | created_on | tags),
"value": field_id in case of "field" type, "created_by", "created_on" or "tags" in case of "revision",
"sub_value": interval granularity for date related groupings (date or calculation fields or created_on). "date", "weekday", "week", "month" or "year"
}
}
没有引用此视图的 app_id
的字段。有什么办法可以得到这个view的app_id吗?
app_id
当前未在 json 响应中返回。我已将一项添加到我们的开发待办事项中以添加此功能。
我正在使用跑道 API 通过跑道 PHP 库获取视图:
PodioView::get( $view_id );
示例响应是:
{
"sort_by": How the results should be sorted, see the area for details.
"sort_desc": True if the result should sorted descending, false otherwise,
"filters": The filters on this view
[
{
"key": The key of the filter (see the area for details),
"values": The value(s) to be used for filtering, depends on the type of field. See the area for details.
"humanized_values": A human-friendly text representation of values,
}
],
"fields": Any specific settings for fields
{
"{field_id}": The setting for the given field
{
"delta_offset": The offset from the fields normal delta,
"width": Any specific width the field is rendered as,
"hidden": True if the field is hidden, False otherwise,
"use": The use of the column either "x_axis" or "y_axis", if any
}
},
"groupings": individual groups data, if grouping is present, otherwise {}
{
"total": total count of items in all groups,
"groups": [{
"count": items count of the single group,
"avatar": url of users avatar when grouping by contact or created_by, otherwise null
"color": color of a category option when grouping by category field, otherwise null,
"value": a unique value for each group,
"label": a text label for each group
}
]
},
"grouping": grouping configuration, if grouping is present, otherwise {}
{
"type": "field" or "revision" (grouping by an app field or by created_by | created_on | tags),
"value": field_id in case of "field" type, "created_by", "created_on" or "tags" in case of "revision",
"sub_value": interval granularity for date related groupings (date or calculation fields or created_on). "date", "weekday", "week", "month" or "year"
}
}
没有引用此视图的 app_id
的字段。有什么办法可以得到这个view的app_id吗?
app_id
当前未在 json 响应中返回。我已将一项添加到我们的开发待办事项中以添加此功能。