B blackjack Chevereto Member Dec 13, 2016 #1 hi, how can i mark a upload with the api as nsfw upload? can you explain it? thanks
Rodolfo 👑 Chevereto Godlike Chevereto Staff Administrator Dec 13, 2016 #2 You can't. The API doesn't have such feature.
Rodolfo 👑 Chevereto Godlike Chevereto Staff Administrator Feb 5, 2019 #4 novexx said: Its now possible Click to expand... No, I haven't touched that functionality at all.
N novexx Chevereto Member Feb 8, 2019 #5 If you change in routes.api.php the code to that: $uploaded_id = CHV\Image::uploadToWebsite($source, $_REQUEST['username'], $_REQUEST['params']); You can set in a requests the $params['nsfw'] = true; and the image should be nsfw marked.
If you change in routes.api.php the code to that: $uploaded_id = CHV\Image::uploadToWebsite($source, $_REQUEST['username'], $_REQUEST['params']); You can set in a requests the $params['nsfw'] = true; and the image should be nsfw marked.
imgtaxi Chevereto Noob Aug 4, 2019 #6 $params = array( 'nsfw' => '1', 'show_nsfw_listings' => '1', 'album_id' => '7' ); $uploaded_id = CHV\Image::uploadToWebsite($source, 'username',$params);
$params = array( 'nsfw' => '1', 'show_nsfw_listings' => '1', 'album_id' => '7' ); $uploaded_id = CHV\Image::uploadToWebsite($source, 'username',$params);