Error with video_state in OpenAPI definition #661
-
Hi everybody, I've just generated a client from the Etsy Open API specification v3 and I'm running into some problems due to what I consider a non-properly described value. After uploading a video via Sample response featured on Etsy's site
OpenAPI specification on Etsy's site
Instead I'm receiving a response like the following, where
I want to believe the Open API definition was supposed to be an enum of strings and not numbers, like this other one from
So could someone please 1) verify that the Open API specification is up to date, and 2) point out to me the string equivalent of 0, 1, 2, and 3 for video state? It seems the states should be |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@maxalmonte14 You are correct. This is an error in our documentation. The numbers you are seeing are the indexes of those values in that same order: 0 = active, 1 = inactive, 2 = deleted, 3 = flagged. We will get this corrected. |
Beta Was this translation helpful? Give feedback.
-
The documentation has been corrected. |
Beta Was this translation helpful? Give feedback.
The documentation has been corrected.