Create a Post
Creating a post is done via the following API endpoint.
POST: https://api.scored.co/api/v2/action/create_post
Parameters
The following parameters are valid.
Value | Type | Required | Description |
---|---|---|---|
title | boolean | true | post title |
type | string | true | post type - 'text' or 'link' |
content | string | true | if text post, value for content |
link | boolean | true | if link post, value for link |
community | string | true | the community the post will go in |
nsfw | boolean | false | whether the post is NSFW |
g-recaptcha-response | string | false | a valid reCAPTCHA response token |
View here to see how we handle captchas.
To create an image post, you should first upload the image, and create a link post providing the media.scored.co
link.