Because there is no explicit between filter, use _gte and _lt filters to create a between.Įxample: Commits created between Jand June 15, 2018.Įxample: Repository vendor type is github.Ī case-sensitive match for all records that are not an exact string match.Įxample: Repository vendor type is not github.įilters for commits that are not excluded.Įxample: All commits except those made by excluded users.įlow ensures each unique commit is represented once and only once. There are several built-in filter options for searching:įilters for records that are greater than the specified value.Įxample: All commits where lines of new_work code is greater than 100000.įilters for records that are greater than or equal to the specified value.Įxample: All commits where lines of new_work code greater is than or equal to 2695.įilters for records that are less than the specified value.Įxample: All commits where lines of new_work code is less than 10.įilters for records that are less than or equal to the specified value.Įxample: All commits where lines of new_work code is less than or equal to one.įilters for records that are in a list of specified values.Ī case-insensitive string containment test equivalent to ILIKE “%foo%” in SQL.Įxample: Commit message that contains the word progress.Ī case-sensitive search for records that start with the specified string.įilters for records that fall within the specified range of values. These filter options greatly improve performance by returning exactly the objects you want. The Flow API offers basic and enhanced filtering options for filtering objects. This will return all fields in the Users endpoint with the email and teams fields omitted: To limit the fields to a select few, use the omit keyword and provide a comma-separated list of field names. This will return three user records with only the id, name, and email fields. To limit the response to a specific set of fields, use the fields keyword and provide a comma-separated list of field names. This can help with performance and limit the scope of data sent to the client application. The API provides a mechanism to limit the fields returned for a given object using the fields and omit keywords. Where 1 234567890 is the specific user ID being requested. Flow filters using standard REST syntax using the object ID.įor example, to obtain a specific user record, you would submit the following request:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |