integrations.sh
← all integrations

trash nothing

OpenAPI apis-guru social

This is the REST API for .

To learn more about the API or to register your app for use with the API visit the .

NOTE: All date-time values are and are in (eg. 2019-02-03T01:23:53).

Homepage
https://api.apis.guru/v2/specs/trashnothing.com/1.3.json
Provider
trashnothing.com
OpenAPI version
3.0.0
Spec (JSON)
https://api.apis.guru/v2/specs/trashnothing.com/1.3/openapi.json
Spec (YAML)
https://api.apis.guru/v2/specs/trashnothing.com/1.3/openapi.yaml

Tools (78)

Extracted live via the executor SDK.

  • groups.contactModerators

    Contact group moderators

  • groups.getGroup

    Retrieve a group

  • groups.getGroupsByIds

    Retrieve multiple groups

  • groups.joinGroups

    Request membership to one or more groups.

    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.

  • groups.leaveGroup

    Leave a group

  • groups.searchGroups

    Search groups

  • groups.submitAnswers

    Submits answers to a groups' membership questionnaire.

    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.

  • messages.archiveAllConversations

    Archive all conversations

  • messages.archiveConversation

    Archive conversation

  • messages.blockConversation

    Block conversation

  • messages.deleteConversation

    Delete conversation

  • messages.getConversationMessages

    List conversation messages

  • messages.getConversations

    List conversations

  • messages.markAllConversationsRead

    Mark all conversations as read

  • messages.markConversationRead

    Mark conversation as read

  • messages.replyToConversation

    Reply to conversation

  • messages.reportConversation

    Report conversation

  • messages.searchConversations

    Searches all conversations except blocked conversations.

  • messages.unarchiveConversation

    Unarchive conversation

  • messages.unblockConversation

    Unblock conversation

  • misc.sendFeedback

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

  • photos.deletePhoto

    Delete a photo

  • photos.getPhotosByIds

    Retrieve multiple photos

  • photos.rotatePhoto

    Rotate a photo

  • photos.uploadPhoto

    Create a photo

  • posts.bookmarkPost

    Bookmark a post

  • posts.deleteBookmark

    Delete a post bookmark

  • posts.deletePost

    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.

  • posts.getAllPosts

    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).

    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.

  • posts.getAllPostsChanges

    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.

    The different types of changes that are returned are listed below.

    - deleted
    - undeleted
    - satisfied
    - promised
    - unpromised
    - withdrawn
    - edited

    For edited changes, clients can use the retrieve post API endpoint to get the edits that have been made to the post.

  • posts.getPost

    Retrieve a post

  • posts.getPostAndRelatedData

    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.

  • posts.getPosts

    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.

  • posts.getPostsByIds

    Retrieve multiple posts

  • posts.promisePost

    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.

  • posts.replyToPost

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

  • posts.reportPost

    Reports a post to be reviewed by the moderators.

  • posts.satisfyPost

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

  • posts.searchPosts

    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.

  • posts.sharePost

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

  • posts.submitPost

    Submits a new post.

  • posts.unpromisePost

    Mark an offer by the current user as unpromised.

  • posts.updatePost

    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.

  • posts.withdrawPost

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

  • stories.getStories

    List stories

  • stories.getStory

    Retrieve a story

  • stories.likeStory

    Like a story

  • stories.submitStory

    Submit a story

  • stories.unlikeStory

    Unlike a story

  • stories.viewedStory

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

  • users.changeEmail

    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.

  • users.createAlert

    Create an email alert

  • users.deleteAlert

    Delete an email alert

  • users.getAlerts

    List current users' email alerts

  • users.getCurrentUser

    Retrieve current user

  • users.getCurrentUserGroups

    List current users' groups

  • users.getCurrentUserPosts

    NOTE: In order to make it easier to see all a users' posts, the current users' 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.

  • users.getPostLocations

    Only the most recent 3 post locations are returned.

  • users.getProfileImageFile

    This is designed to be used as the src attribute of an HTML <img> tag to show the profile image of the given user.

  • users.getProfileImages

    List current users' profile images

  • users.getUser

    Retrieve a user

  • users.getUserAndRelatedData

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

  • users.getUserGroupNotices

    List current users' group notices

  • users.getUserPosts

    NOTE: In order to make it easier to see all a users' posts, the current users' 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.

  • users.removeUserFeedback

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

  • users.reportUser

    Report a user

  • users.resendAccountVerificationEmail

    Resend account verification email

  • users.savePostLocation

    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.

  • users.searchCurrentUserPosts

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

  • users.searchUserPosts

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

  • users.sendPasswordResetEmail

    Send password reset email

  • users.setEmailNotBouncing

    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.

  • users.setProfileImage

    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.

  • users.submitUserFeedback

    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.

  • users.updateCurrentUser

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

  • users.updateLocation

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

  • openapi.previewSpec

    Preview an OpenAPI document before adding it as a source

  • openapi.addSource

    Add an OpenAPI source and register its operations as tools