← Back to catalog

Social

trash nothing

auto-generated
swirls add trashnothing
actionPOSTv1.0.0

Change email address

Change the users' current email address. A verification link will be emailed to the new email address to verify that the email account belongs to the user. The email change will not take effect until the user clicks the link in the verification email.

Source
actionDELETEv1.0.0

Delete a post

Users can delete posts they have made that have been satisfied or withdrawn or that have expired. Deleting posts isn't intended to be a normal part of the posting process since it makes reposting and viewing old posts harder.

Source
actionPOSTv1.0.0

Join groups

Request membership to one or more groups. <br /><br /> NOTE: Any group with a has_questions field set to true will also require answers to the groups' new member questionnaire to be submitted. Groups waiting for answers will have their membership field set to 'pending-questions'. And the questionnaire that needs to be answered can be found in the membership.questionnaire field of the group after a subscribe request is made to that group.

Source
actionGETv1.0.0

List all post changes

This endpoint provides an easy way to get a feed of all the changes that have been made to publicly published posts on trash nothing. Similar to the /posts/all endpoint, only data from the last 30 days is available and the changes are sorted by date (newest first). Every change includes the date of the change, the post_id of the post that was changed and the type of change. <br /><br /> The different types of changes that are returned are listed below. <br /><br /> - deleted<br /> - undeleted<br /> - satisfied<br /> - promised<br /> - unpromised<br /> - withdrawn<br /> - edited<br /> <br /> For edited changes, clients can use the retrieve post API endpoint to get the edits that have been made to the post.

Source
actionGETv1.0.0

List all posts

This endpoint provides an easy way to get a feed of all the publicly published posts on trash nothing. It provides access to all publicly published offer and wanted posts from the last 30 days. The posts are sorted by date (newest first). <br /><br /> There are fewer options for filtering, sorting and searching posts with this endpoint but there is no 1,000 post limit and posts that are crossposted to multiple groups are not merged together in the response. In most cases, crossposted posts are easy to detect because they have the same user_id, title and content.

Source
actionGETv1.0.0

List current users' posts

NOTE: In order to make it easier to see all a users&#39; posts, the current users&#39; location preferences are not applied when listing or searching posts from a single user. If location based filtering of the posts is needed, the latitude, longitude and radius parameters may be used.

Source
actionGETv1.0.0

List posts

NOTE: When paging through the posts returned by this endpoint, there will be at most 1,000 posts that can be returned (eg. 50 pages worth of posts with the default per_page value of 20). In areas where there are more than 1,000 posts, clients can use more specific query parameters to adjust which posts are returned. NOTE: Passing the latitude, longitude and radius parameters filters all posts by their location and so these parameters will temporarily override the current users' location preferences. When latitude, longitude and radius are not specified, public posts will be filtered by the current users' location preferences.

Source
actionGETv1.0.0

List posts by a user

NOTE: In order to make it easier to see all a users&#39; posts, the current users&#39; location preferences are not applied when listing or searching posts from a single user. If location based filtering of the posts is needed, the latitude, longitude and radius parameters may be used.

Source
actionPUTv1.0.0

Promise an offer post

Mark an offer by the current user as promised to someone. This helps people viewing the post know that the items being offered may soon be given away as long as the person who was promised the items picks them up.

Source
actionPOSTv1.0.0

Record story viewed

Records every time a user views the full story (and not just a preview or snippet),

Source
actionDELETEv1.0.0

Remove feedback on a user

Allows the current user to remove feedback that they left on a user.

Source
actionPOSTv1.0.0

Reply to a post

Send a reply to a post from the current user to the post author.

Source
actionPOSTv1.0.0

Report a post

Reports a post to be reviewed by the moderators.

Source
actionGETv1.0.0

Retrieve a users' profile image

This is designed to be used as the src attribute of an HTML &lt;img&gt; tag to show the profile image of the given user.

Source
actionGETv1.0.0

Retrieve post display data

Retrieve a post and other data related to the post that is useful for displaying the post such as data about the user who posted the post and the groups the post was posted on.

Source
actionGETv1.0.0

Retrieve user display info

Retrieve a user and information related to the user (eg. recent posts) that is useful for displaying a more detailed view of the user.

Source
actionPUTv1.0.0

Satisfy a post

Mark an offer or wanted post by the current user as satisfied (eg. an offer has been taken or a wanted has been received).

Source
actionPUTv1.0.0

Save a post location for the current user

Creates or updates a post location for the current user. Updates will happen when the name of the post location matches a previous post location.

Source
actionGETv1.0.0

Search conversations

Searches all conversations except blocked conversations.

Source
actionGETv1.0.0

Search current users' posts

Searching posts takes the same arguments as listing posts except for the addition of the search and sort_by parameters.

Source
actionGETv1.0.0

Search posts

Searching posts takes the same arguments as listing posts except for the addition of the search and sort_by parameters. NOTE: When paging through the posts returned by this endpoint, there will be at most 1,000 posts that can be returned (eg. 50 pages worth of posts with the default per_page value of 20). In areas where there are more than 1,000 posts, clients can use more specific query parameters to adjust which posts are returned.

Source
actionGETv1.0.0

Search posts by a user

Searching posts takes the same arguments as listing posts except for the addition of the search and sort_by parameters.

Source
actionPOSTv1.0.0

Send feedback

Allows users to send feedback about the trashnothing.com site or apps.

Source
actionPOSTv1.0.0

Set a profile image

Profile images must be at least 90 pixels wide and tall. And if the image used is not square it will be automatically cropped to be square.

Source
actionPUTv1.0.0

Set users' email address as not bouncing

Resets an email address bouncing state to false. The users' email address may be automatically marked as bouncing again if further emails sent to it are bounced.

Source
actionPOSTv1.0.0

Share a post

Forwards a copy of the post to the current user so that they can forward it to friends.

Source
actionPOSTv1.0.0

Submit feedback on a user

Allows the current user to submit feedback on a user. The current user can only leave feedback on a user if the feedback allowed property on that user is set to true (see User definition for more details). And the system will only store the most recent feedback submission that the current user has submitted on a user. If the current user submits feedback multiple times, the newest feedback will overwrite the older feedback. This allows users to update their feedback as long as the feedback allowed property allows it.

Source
actionPOSTv1.0.0

Submit group answers

Submits answers to a groups' membership questionnaire. <br /><br /> The request body should be a JSON object mapping each question from the group membership.questionnaire.questions field to an answer (eg. {"Where do you live?": "New York City"} ). All questions are required so no null or empty string answers are allowed.

Source
actionPUTv1.0.0

Update a post

Users can update posts to fix mistakes with their post, add photos, or add more details about the items. Updates should not be used to say that items in a post have been taken or received since the post satisfy endpoint is designed to do that.

Source
actionPUTv1.0.0

Update current user

Update the current user. All fields are optional so requests can update just one or multiple user properties at a time.

Source
actionPUTv1.0.0

Update location

Update the current users' location. The location is used to determine which posts are shown to the user (both public posts and group posts).

Source
actionPUTv1.0.0

Withdraw a post

Mark an offer or wanted post by the current user as withdrawn.

Source
Beyond the catalog

Any provider, on request.

01

Request it

Tell us which provider you need, and we will ship it in the registry.

02

Generate it

Point swirls add at an OpenAPI or GraphQL spec. Typed actions for any API you hold credentials for, today.

acme · integrations
terminal
~/acme $swirls add linear
✓ 12 typed actions · scopes and schemas included
 
~/acme $swirls add https://api.acme.dev/openapi.json
◆ Fetched spec · 38 operations
✓ 6 typed actions · generated from spec