This is the raw data that powers everything you see in the Api Reference. It's regenerated from the latest staging build.
downloadDownload api.jsonThe schema is produced by Facepunch.AssemblySchema. Use the same library to deserialize it.
// load json
var json = System.IO.File.ReadAllText( "api.json" );
// parse to schema class
var schema = JsonSerializer.Deserialize<Schema>( json );
// hook all the internals up, so types have links to each other
schema.Rebuild();
// print every type
foreach ( var t in schema.Types )
{
Console.WriteLine( $"{t.FullName}" );
}
You can do whatever you want with this data. No restrictions — it's a description of a public API.