download

Download

This is the raw data that powers everything you see in the Api Reference. It's regenerated from the latest staging build.

downloadDownload api.json
code

Parse it yourself

The schema is produced by Facepunch.AssemblySchema. Use the same library to deserialize it.

Example

// 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}" );
}

License

You can do whatever you want with this data. No restrictions — it's a description of a public API.