Version[] in an undocumented object presumably for testing).Could you be a bit more specific about those?
- During some tests, I found that a few spelling mistakes of query parameters and body keys are present.
- There is one particular response type, that isn't quite like anything in the documentation objects and that is separate, which could in fact just be integrated into one of the objects.
Looks like a typo of a single character which prevented the usual error checking. I've pushed a fix but will wait to see if any more issues prop up before we push it to prod.There are mistakes on the server (end e.g. wrapping aVersion[]in an undocumented object presumably for testing).
For anything that isn't applicable (eg. response data, sort options, query parameters), that heading is omitted. I could be verbose and use "N/A", but that just feels clunky to me.Return types are unclear on methods which patch or post, and my current wrapper assumes those are all uints.
Yep sorry, just off the top of my head at the moment,Could you be a bit more specific about those?
recipients_ids is misspelt in the docs and should be recipient_ids. Unfortunately I can't think of any more, and there are still quite a few tests I've yet to do since I don't have any paid resources (if you'd like to help, I'd be stoked lol).Purchase object with "purchase_name" added. You can update the purchase object with that field and let it be known that "purchase_name" is only returned under special circumstances.Probably worth mentioning at the top to be honest. (For anything that isn't applicable (eg. response data, sort options, query parameters), that heading is omitted. I could be verbose and use "N/A", but that just feels clunky to me.
So the implication from that should be that PATCH requests don't return data.
POSTs return the ID of the content created. I'm just about to fix two instances within the documentation where the response data header wasn't present for a POST request.
PATCH spec doesn't specifically disallow having response bodies). Cheers Fixed those. I'll look through it again when I have time.Yep sorry, just off the top of my head at the moment,recipients_idsis misspelt in the docs and should berecipient_ids. Unfortunately I can't think of any more, and there are still quite a few tests I've yet to do since I don't have any paid resources (if you'd like to help, I'd be stoked lol).
For the latter bit- https://www.mc-market.org/wiki/v1-endpoints/#:~:text=a UNIX timestamp-,Response Data,-Code:
The response type is just aPurchaseobject with"purchase_name"added. You can update the purchase object with that field and let it be known that "purchase_name" is only returned under special circumstances.
I don't feel that's necessary since even for PATCH requests though, you're still receiving a response body - the API response itself.Probably worth mentioning at the top to be honest. (PATCHspec doesn't specifically disallow having response bodies). Cheers![]()
