{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://www.apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/social-media:trashnothing/search-groups":{"get":{"operationId":"social_media_trashnothing_search_groups","summary":"Search groups","description":"GET /groups","tags":["social-media"],"parameters":[{"name":"name","in":"query","required":false,"description":"Find groups that have the given text somewhere in their name (case insensitive).","schema":{"type":"string","description":"Find groups that have the given text somewhere in their name (case insensitive)."}},{"name":"latitude","in":"query","required":false,"description":"Find groups near the given latitude and longitude.","schema":{"type":"number","description":"Find groups near the given latitude and longitude."}},{"name":"longitude","in":"query","required":false,"description":"Find groups near the given latitude and longitude.","schema":{"type":"number","description":"Find groups near the given latitude and longitude."}},{"name":"distance","in":"query","required":false,"description":"When latitude and longitude are passed, distance can optionally be passed to only return groups within a certain distance (in kilometers)…","schema":{"type":"number","default":100,"description":"When latitude and longitude are passed, distance can optionally be passed to only return groups within a certain distance (in kilometers)…"}},{"name":"country","in":"query","required":false,"description":"Find groups in the given country where country is a 2 letter country code for the country (see…","schema":{"type":"string","description":"Find groups in the given country where country is a 2 letter country code for the country (see…"}},{"name":"region","in":"query","required":false,"description":"For countries with regions (AU, CA, GB, US), search groups in a specific region as specified by the region abbreviation. The supported…","schema":{"type":"string","description":"For countries with regions (AU, CA, GB, US), search groups in a specific region as specified by the region abbreviation. The supported…"}},{"name":"postal_code","in":"query","required":false,"description":"Find groups in the given postal code. Only a few countries support postal code searches (US, CA, AU, GB). The country parameter must be…","schema":{"type":"string","description":"Find groups in the given postal code. Only a few countries support postal code searches (US, CA, AU, GB). The country parameter must be…"}},{"name":"page","in":"query","required":false,"description":"The page of groups to return.","schema":{"type":"integer","default":1,"description":"The page of groups to return."}},{"name":"per_page","in":"query","required":false,"description":"The number of groups to return per page (must be >= 1 and <= 100).","schema":{"type":"integer","default":20,"description":"The number of groups to return per page (must be >= 1 and <= 100)."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:trashnothing/get-groups-by-ids":{"get":{"operationId":"social_media_trashnothing_get_groups_by_ids","summary":"Retrieve multiple groups","description":"GET /groups/multiple","tags":["social-media"],"parameters":[{"name":"group_ids","in":"query","required":true,"description":"The IDs of the groups to retrieve. If more than 20 group IDs are passed, only the first 20 groups will be returned.","schema":{"type":"string","description":"The IDs of the groups to retrieve. If more than 20 group IDs are passed, only the first 20 groups will be returned."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:trashnothing/get-group":{"get":{"operationId":"social_media_trashnothing_get_group","summary":"Retrieve a group","description":"GET /groups/{group_id}","tags":["social-media"],"parameters":[{"name":"group_id","in":"query","required":true,"description":"The ID of the group to retrieve.","schema":{"type":"string","description":"The ID of the group to retrieve."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:trashnothing/get-posts":{"get":{"operationId":"social_media_trashnothing_get_posts","summary":"List posts","description":"GET /posts","tags":["social-media"],"parameters":[{"name":"sort_by","in":"query","required":false,"description":"How to sort the posts that are returned. One of: date, active, distance Date sorting will sort posts from newest to oldest. Active sorting…","schema":{"type":"string","default":"date","description":"How to sort the posts that are returned. One of: date, active, distance Date sorting will sort posts from newest to oldest. Active sorting…"}},{"name":"types","in":"query","required":true,"description":"A comma separated list of the post types to return. The available post types are: offer, taken, wanted, received, admin","schema":{"type":"string","description":"A comma separated list of the post types to return. The available post types are: offer, taken, wanted, received, admin"}},{"name":"sources","in":"query","required":true,"description":"A comma separated list of the post sources to retrieve posts from. The available sources are: groups, trashnothing, open_archive_groups.…","schema":{"type":"string","description":"A comma separated list of the post sources to retrieve posts from. The available sources are: groups, trashnothing, open_archive_groups.…"}},{"name":"group_ids","in":"query","required":false,"description":"A comma separated list of the group IDs to retrieve posts from. This parameter is only used if the 'groups' source is passed in the…","schema":{"type":"string","default":"The group IDs of every group the current user is a member of.","description":"A comma separated list of the group IDs to retrieve posts from. This parameter is only used if the 'groups' source is passed in the…"}},{"name":"per_page","in":"query","required":false,"description":"The number of posts to return per page (must be >= 1 and <= 100).","schema":{"type":"integer","default":20,"description":"The number of posts to return per page (must be >= 1 and <= 100)."}},{"name":"page","in":"query","required":false,"description":"The page of posts to return.","schema":{"type":"integer","default":1,"description":"The page of posts to return."}},{"name":"device_pixel_ratio","in":"query","required":false,"description":"Client device pixel ratio used to determine thumbnail size (default 1.0).","schema":{"type":"number","default":1,"description":"Client device pixel ratio used to determine thumbnail size (default 1.0)."}},{"name":"latitude","in":"query","required":false,"description":"The latitude of a point around which to return posts.","schema":{"type":"number","description":"The latitude of a point around which to return posts."}},{"name":"longitude","in":"query","required":false,"description":"The longitude of a point around which to return posts.","schema":{"type":"number","description":"The longitude of a point around which to return posts."}},{"name":"radius","in":"query","required":false,"description":"The radius in meters of a circle centered at the point defined by the latitude and longitude parameters. When latitude, longitude and…","schema":{"type":"number","description":"The radius in meters of a circle centered at the point defined by the latitude and longitude parameters. When latitude, longitude and…"}},{"name":"date_min","in":"query","required":false,"description":"Only posts newer than or equal to this UTC date and time will be returned. If unset, defaults to the current date and time minus 90 days.","schema":{"type":"string","description":"Only posts newer than or equal to this UTC date and time will be returned. If unset, defaults to the current date and time minus 90 days."}},{"name":"date_max","in":"query","required":false,"description":"Only posts older than this UTC date and time will be returned. If unset, defaults to the current date and time.","schema":{"type":"string","description":"Only posts older than this UTC date and time will be returned. If unset, defaults to the current date and time."}},{"name":"outcomes","in":"query","required":false,"description":"A comma separated list of the post outcomes to return. The available post outcomes are: satisfied, withdrawn There are also a couple…","schema":{"type":"string","default":"","description":"A comma separated list of the post outcomes to return. The available post outcomes are: satisfied, withdrawn There are also a couple…"}},{"name":"user_state","in":"query","required":false,"description":"If user_state is set, only posts matching the state specified will be returned. Only one state may be passed and it must be one of the…","schema":{"type":"string","default":"","description":"If user_state is set, only posts matching the state specified will be returned. Only one state may be passed and it must be one of the…"}},{"name":"include_reposts","in":"query","required":false,"description":"If set to 1 (the default), posts that are reposts will be included. If set to 0, reposts will be excluded. See the repost_count field of…","schema":{"type":"integer","default":1,"description":"If set to 1 (the default), posts that are reposts will be included. If set to 0, reposts will be excluded. See the repost_count field of…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:trashnothing/get-all-posts":{"get":{"operationId":"social_media_trashnothing_get_all_posts","summary":"List all posts","description":"GET /posts/all","tags":["social-media"],"parameters":[{"name":"types","in":"query","required":true,"description":"A comma separated list of the post types to return. The available post types are: offer, wanted","schema":{"type":"string","description":"A comma separated list of the post types to return. The available post types are: offer, wanted"}},{"name":"date_min","in":"query","required":true,"description":"Only posts newer than or equal to this UTC date and time will be returned. The UTC date and time used must be within a day or less of…","schema":{"type":"string","description":"Only posts newer than or equal to this UTC date and time will be returned. The UTC date and time used must be within a day or less of…"}},{"name":"date_max","in":"query","required":true,"description":"Only posts older than this UTC date and time will be returned. The UTC date and time used must be within a day or less of date_min. And…","schema":{"type":"string","description":"Only posts older than this UTC date and time will be returned. The UTC date and time used must be within a day or less of date_min. And…"}},{"name":"per_page","in":"query","required":false,"description":"The number of posts to return per page (must be >= 1 and <= 50).","schema":{"type":"integer","default":20,"description":"The number of posts to return per page (must be >= 1 and <= 50)."}},{"name":"page","in":"query","required":false,"description":"The page of posts to return.","schema":{"type":"integer","default":1,"description":"The page of posts to return."}},{"name":"device_pixel_ratio","in":"query","required":false,"description":"Client device pixel ratio used to determine thumbnail size (default 1.0).","schema":{"type":"number","default":1,"description":"Client device pixel ratio used to determine thumbnail size (default 1.0)."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:trashnothing/get-all-posts-changes":{"get":{"operationId":"social_media_trashnothing_get_all_posts_changes","summary":"List all post changes","description":"GET /posts/all/changes","tags":["social-media"],"parameters":[{"name":"date_min","in":"query","required":true,"description":"Only changes newer than or equal to this UTC date and time will be returned. The UTC date and time used must be within a day or less of…","schema":{"type":"string","description":"Only changes newer than or equal to this UTC date and time will be returned. The UTC date and time used must be within a day or less of…"}},{"name":"date_max","in":"query","required":true,"description":"Only changes older than this UTC date and time will be returned. The UTC date and time used must be within a day or less of date_min. And…","schema":{"type":"string","description":"Only changes older than this UTC date and time will be returned. The UTC date and time used must be within a day or less of date_min. And…"}},{"name":"per_page","in":"query","required":false,"description":"The number of changes to return per page (must be >= 1 and <= 50).","schema":{"type":"integer","default":20,"description":"The number of changes to return per page (must be >= 1 and <= 50)."}},{"name":"page","in":"query","required":false,"description":"The page of changes to return.","schema":{"type":"integer","default":1,"description":"The page of changes to return."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:trashnothing/get-posts-by-ids":{"get":{"operationId":"social_media_trashnothing_get_posts_by_ids","summary":"Retrieve multiple posts","description":"GET /posts/multiple","tags":["social-media"],"parameters":[{"name":"post_ids","in":"query","required":true,"description":"A comma separated list of the post IDs. If more than 10 post IDs are passed, only the first 10 posts will be returned.","schema":{"type":"string","description":"A comma separated list of the post IDs. If more than 10 post IDs are passed, only the first 10 posts will be returned."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:trashnothing/search-posts":{"get":{"operationId":"social_media_trashnothing_search_posts","summary":"Search posts","description":"GET /posts/search","tags":["social-media"],"parameters":[{"name":"search","in":"query","required":true,"description":"The search query used to find posts.","schema":{"type":"string","description":"The search query used to find posts."}},{"name":"sort_by","in":"query","required":false,"description":"How to sort the posts that are returned. One of: relevance, date, active, distance Relevance sorting will sort the posts that best match…","schema":{"type":"string","default":"relevance","description":"How to sort the posts that are returned. One of: relevance, date, active, distance Relevance sorting will sort the posts that best match…"}},{"name":"types","in":"query","required":true,"description":"A comma separated list of the post types to return. The available post types are: offer, taken, wanted, received, admin","schema":{"type":"string","description":"A comma separated list of the post types to return. The available post types are: offer, taken, wanted, received, admin"}},{"name":"sources","in":"query","required":true,"description":"A comma separated list of the post sources to retrieve posts from. The available sources are: groups, trashnothing, open_archive_groups.…","schema":{"type":"string","description":"A comma separated list of the post sources to retrieve posts from. The available sources are: groups, trashnothing, open_archive_groups.…"}},{"name":"group_ids","in":"query","required":false,"description":"A comma separated list of the group IDs to retrieve posts from. This parameter is only used if the 'groups' source is passed in the…","schema":{"type":"string","default":"The group IDs of every group the current user is a member of.","description":"A comma separated list of the group IDs to retrieve posts from. This parameter is only used if the 'groups' source is passed in the…"}},{"name":"per_page","in":"query","required":false,"description":"The number of posts to return per page (must be >= 1 and <= 100).","schema":{"type":"integer","default":20,"description":"The number of posts to return per page (must be >= 1 and <= 100)."}},{"name":"page","in":"query","required":false,"description":"The page of posts to return.","schema":{"type":"integer","default":1,"description":"The page of posts to return."}},{"name":"device_pixel_ratio","in":"query","required":false,"description":"Client device pixel ratio used to determine thumbnail size (default 1.0).","schema":{"type":"number","default":1,"description":"Client device pixel ratio used to determine thumbnail size (default 1.0)."}},{"name":"latitude","in":"query","required":false,"description":"The latitude of a point around which to return posts.","schema":{"type":"number","description":"The latitude of a point around which to return posts."}},{"name":"longitude","in":"query","required":false,"description":"The longitude of a point around which to return posts.","schema":{"type":"number","description":"The longitude of a point around which to return posts."}},{"name":"radius","in":"query","required":false,"description":"The radius in meters of a circle centered at the point defined by the latitude and longitude parameters. When latitude, longitude and…","schema":{"type":"number","description":"The radius in meters of a circle centered at the point defined by the latitude and longitude parameters. When latitude, longitude and…"}},{"name":"date_min","in":"query","required":false,"description":"Only posts newer than or equal to this UTC date and time will be returned. If unset, defaults to the current date and time minus 90 days.","schema":{"type":"string","description":"Only posts newer than or equal to this UTC date and time will be returned. If unset, defaults to the current date and time minus 90 days."}},{"name":"date_max","in":"query","required":false,"description":"Only posts older than this UTC date and time will be returned. If unset, defaults to the current date and time.","schema":{"type":"string","description":"Only posts older than this UTC date and time will be returned. If unset, defaults to the current date and time."}},{"name":"outcomes","in":"query","required":false,"description":"A comma separated list of the post outcomes to return. The available post outcomes are: satisfied, withdrawn There are also a couple…","schema":{"type":"string","default":"","description":"A comma separated list of the post outcomes to return. The available post outcomes are: satisfied, withdrawn There are also a couple…"}},{"name":"user_state","in":"query","required":false,"description":"If user_state is set, only posts matching the state specified will be returned. Only one state may be passed and it must be one of the…","schema":{"type":"string","default":"","description":"If user_state is set, only posts matching the state specified will be returned. Only one state may be passed and it must be one of the…"}},{"name":"include_reposts","in":"query","required":false,"description":"If set to 1 (the default), posts that are reposts will be included. If set to 0, reposts will be excluded. See the repost_count field of…","schema":{"type":"integer","default":1,"description":"If set to 1 (the default), posts that are reposts will be included. If set to 0, reposts will be excluded. See the repost_count field of…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:trashnothing/get-post":{"get":{"operationId":"social_media_trashnothing_get_post","summary":"Retrieve a post","description":"GET /posts/{post_id}","tags":["social-media"],"parameters":[{"name":"post_id","in":"query","required":true,"description":"The ID of the post to retrieve.","schema":{"type":"string","description":"The ID of the post to retrieve."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:trashnothing/get-post-and-related-data":{"get":{"operationId":"social_media_trashnothing_get_post_and_related_data","summary":"Retrieve post display data","description":"GET /posts/{post_id}/display","tags":["social-media"],"parameters":[{"name":"post_id","in":"query","required":true,"description":"The ID of the post to retrieve.","schema":{"type":"string","description":"The ID of the post to retrieve."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:trashnothing/get-user-posts":{"get":{"operationId":"social_media_trashnothing_get_user_posts","summary":"List posts by a user","description":"GET /users/{user_id}/posts","tags":["social-media"],"parameters":[{"name":"user_id","in":"query","required":true,"description":"The user ID of the user whose posts will be retrieved. Using 'me' as the user_id will return the posts for the current user.","schema":{"type":"string","description":"The user ID of the user whose posts will be retrieved. Using 'me' as the user_id will return the posts for the current user."}},{"name":"sort_by","in":"query","required":false,"description":"How to sort the posts that are returned. One of: date, active, distance Date sorting will sort posts from newest to oldest. Active sorting…","schema":{"type":"string","default":"date","description":"How to sort the posts that are returned. One of: date, active, distance Date sorting will sort posts from newest to oldest. Active sorting…"}},{"name":"types","in":"query","required":true,"description":"A comma separated list of the post types to return. The available post types are: offer, taken, wanted, received, admin","schema":{"type":"string","description":"A comma separated list of the post types to return. The available post types are: offer, taken, wanted, received, admin"}},{"name":"sources","in":"query","required":true,"description":"A comma separated list of the post sources to retrieve posts from. The available sources are: groups, trashnothing, open_archive_groups.…","schema":{"type":"string","description":"A comma separated list of the post sources to retrieve posts from. The available sources are: groups, trashnothing, open_archive_groups.…"}},{"name":"group_ids","in":"query","required":false,"description":"A comma separated list of the group IDs to retrieve posts from. This parameter is only used if the 'groups' source is passed in the…","schema":{"type":"string","default":"The group IDs of every group the current user is a member of.","description":"A comma separated list of the group IDs to retrieve posts from. This parameter is only used if the 'groups' source is passed in the…"}},{"name":"per_page","in":"query","required":false,"description":"The number of posts to return per page (must be >= 1 and <= 100).","schema":{"type":"integer","default":20,"description":"The number of posts to return per page (must be >= 1 and <= 100)."}},{"name":"page","in":"query","required":false,"description":"The page of posts to return.","schema":{"type":"integer","default":1,"description":"The page of posts to return."}},{"name":"device_pixel_ratio","in":"query","required":false,"description":"Client device pixel ratio used to determine thumbnail size (default 1.0).","schema":{"type":"number","default":1,"description":"Client device pixel ratio used to determine thumbnail size (default 1.0)."}},{"name":"latitude","in":"query","required":false,"description":"The latitude of a point around which to return posts.","schema":{"type":"number","description":"The latitude of a point around which to return posts."}},{"name":"longitude","in":"query","required":false,"description":"The longitude of a point around which to return posts.","schema":{"type":"number","description":"The longitude of a point around which to return posts."}},{"name":"radius","in":"query","required":false,"description":"The radius in meters of a circle centered at the point defined by the latitude and longitude parameters. When latitude, longitude and…","schema":{"type":"number","description":"The radius in meters of a circle centered at the point defined by the latitude and longitude parameters. When latitude, longitude and…"}},{"name":"date_min","in":"query","required":false,"description":"Only posts newer than or equal to this UTC date and time will be returned.","schema":{"type":"string","description":"Only posts newer than or equal to this UTC date and time will be returned."}},{"name":"date_max","in":"query","required":false,"description":"Only posts older than this UTC date and time will be returned.","schema":{"type":"string","description":"Only posts older than this UTC date and time will be returned."}},{"name":"outcomes","in":"query","required":false,"description":"A comma separated list of the post outcomes to return. The available post outcomes are: satisfied, withdrawn There are also a couple…","schema":{"type":"string","default":"","description":"A comma separated list of the post outcomes to return. The available post outcomes are: satisfied, withdrawn There are also a couple…"}},{"name":"include_reposts","in":"query","required":false,"description":"If set to 1 (the default), posts that are reposts will be included. If set to 0, reposts will be excluded. See the repost_count field of…","schema":{"type":"integer","default":1,"description":"If set to 1 (the default), posts that are reposts will be included. If set to 0, reposts will be excluded. See the repost_count field of…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/social-media:trashnothing/search-user-posts":{"get":{"operationId":"social_media_trashnothing_search_user_posts","summary":"Search posts by a user","description":"GET /users/{user_id}/posts/search","tags":["social-media"],"parameters":[{"name":"user_id","in":"query","required":true,"description":"The user ID of the user whose posts will be retrieved. Using 'me' as the user_id will return the posts for the current user.","schema":{"type":"string","description":"The user ID of the user whose posts will be retrieved. Using 'me' as the user_id will return the posts for the current user."}},{"name":"search","in":"query","required":true,"description":"The search query used to find posts.","schema":{"type":"string","description":"The search query used to find posts."}},{"name":"sort_by","in":"query","required":false,"description":"How to sort the posts that are returned. One of: relevance, date, active, distance Relevance sorting will sort the posts that best match…","schema":{"type":"string","default":"relevance","description":"How to sort the posts that are returned. One of: relevance, date, active, distance Relevance sorting will sort the posts that best match…"}},{"name":"types","in":"query","required":true,"description":"A comma separated list of the post types to return. The available post types are: offer, taken, wanted, received, admin","schema":{"type":"string","description":"A comma separated list of the post types to return. The available post types are: offer, taken, wanted, received, admin"}},{"name":"sources","in":"query","required":true,"description":"A comma separated list of the post sources to retrieve posts from. The available sources are: groups, trashnothing, open_archive_groups.…","schema":{"type":"string","description":"A comma separated list of the post sources to retrieve posts from. The available sources are: groups, trashnothing, open_archive_groups.…"}},{"name":"group_ids","in":"query","required":false,"description":"A comma separated list of the group IDs to retrieve posts from. This parameter is only used if the 'groups' source is passed in the…","schema":{"type":"string","default":"The group IDs of every group the current user is a member of.","description":"A comma separated list of the group IDs to retrieve posts from. This parameter is only used if the 'groups' source is passed in the…"}},{"name":"per_page","in":"query","required":false,"description":"The number of posts to return per page (must be >= 1 and <= 100).","schema":{"type":"integer","default":20,"description":"The number of posts to return per page (must be >= 1 and <= 100)."}},{"name":"page","in":"query","required":false,"description":"The page of posts to return.","schema":{"type":"integer","default":1,"description":"The page of posts to return."}},{"name":"device_pixel_ratio","in":"query","required":false,"description":"Client device pixel ratio used to determine thumbnail size (default 1.0).","schema":{"type":"number","default":1,"description":"Client device pixel ratio used to determine thumbnail size (default 1.0)."}},{"name":"latitude","in":"query","required":false,"description":"The latitude of a point around which to return posts.","schema":{"type":"number","description":"The latitude of a point around which to return posts."}},{"name":"longitude","in":"query","required":false,"description":"The longitude of a point around which to return posts.","schema":{"type":"number","description":"The longitude of a point around which to return posts."}},{"name":"radius","in":"query","required":false,"description":"The radius in meters of a circle centered at the point defined by the latitude and longitude parameters. When latitude, longitude and…","schema":{"type":"number","description":"The radius in meters of a circle centered at the point defined by the latitude and longitude parameters. When latitude, longitude and…"}},{"name":"date_min","in":"query","required":false,"description":"Only posts newer than or equal to this UTC date and time will be returned.","schema":{"type":"string","description":"Only posts newer than or equal to this UTC date and time will be returned."}},{"name":"date_max","in":"query","required":false,"description":"Only posts older than this UTC date and time will be returned.","schema":{"type":"string","description":"Only posts older than this UTC date and time will be returned."}},{"name":"outcomes","in":"query","required":false,"description":"A comma separated list of the post outcomes to return. The available post outcomes are: satisfied, withdrawn There are also a couple…","schema":{"type":"string","default":"","description":"A comma separated list of the post outcomes to return. The available post outcomes are: satisfied, withdrawn There are also a couple…"}},{"name":"include_reposts","in":"query","required":false,"description":"If set to 1 (the default), posts that are reposts will be included. If set to 0, reposts will be excluded. See the repost_count field of…","schema":{"type":"integer","default":1,"description":"If set to 1 (the default), posts that are reposts will be included. If set to 0, reposts will be excluded. See the repost_count field of…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}