Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Nimses API
- ### Headers to send:
- ```
- "content-Type": "application/json"
- ```
- # Feed
- ## Get posts made by user
- * URL: `/api/feed/user`
- * METHOD: `GET`
- * PARAMS:
- ```
- id: User id
- cursor: Page number
- limit: Number of posts to get
- ```
- ## Get information about a post
- * URL: `/api/feed/post`
- * METHOD: `GET`
- * PARAMS:
- ```
- id: Post id
- ```
- ## Get post comments
- * URL: `/api/feed/comments`
- * METHOD: `GET`
- * PARAMS:
- ```
- postId: Post id
- cursor: Page number
- limit: Number of comments to get
- ```
- ## Returns a list of users that nimed the post
- * URL: `/api/feed/nimed-by`
- * METHOD: `GET`
- * PARAMS:
- ```
- postId: Post id
- take: Number of users to get
- ```
- ## Get post preview link
- * URL: `/api/feed/first-link-parse`
- * METHOD: `GET`
- * PARAMS:
- ```
- postId: Post id
- ```
- # Profile
- ## Get user profile
- * URL: `/api/profile/:username`
- * METHOD: `GET`
- ## Get user limits
- * URL: `/api/profile/limits`
- * METHOD: `GET`
- * PARAMS:
- ```
- id: User id
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement