waifuvault / waifuVault-php-api

Official PHP SDK for waifuVault
https://packagist.org/packages/ernestmarcinko/waifuvault-php-api
MIT License
2 stars 0 forks source link

support new response format & feature #6

Closed VictoriqueMoe closed 5 months ago

VictoriqueMoe commented 5 months ago

there are 2 changes to be made.

First

the first is the WaifuResponse has moved protected and hideFilename into it's own settings object that looks as followes:

image

You can check the swagger schema for this change here: https://waifuvault.moe/api-docs/

image

this object can not be null and will ALWAYS contain the values inside of it

Second

The second change is in the upload query parameters, there is a new optional boolean called one_time_download. you can see this reflected here: image

ernestmarcinko commented 5 months ago

I will rather smell some shoes

VictoriqueMoe commented 5 months ago

I will rather smell some shoes

DO IT