CodeMyst/pastemyst

[feature]

rikashore opened this issue · 4 comments

is your feature request related to a problem? please describe.
The API documentation for language info (/data/language ) , gives a pretty simple model for what a response could look like. Although after messing around with requests in postman, I found that javascript had an extra, undocumented list of aliases.

describe the solution you'd like
A fully documented model for the Language info

additional context
I have not tested any of the other endpoints as of now, and am not sure if those also have possible extra properties.

p.s. What is the language endpoint for C#?

Here's the configuration of C# language.


image
source


You can get the full list of languages and extensions here.

Much appreciated!

indeed the alias property looks to be missing.

and about c#, do note that the parameter needs to be encoded since # is a special symbol in URL, as the docs say.

Yeah took me a little bit to figure that out, the help is much appreciated!