# orion.core.contentTypeRegistry

The `orion.core.contentTypeRegistry` service provides information about the Content Types that have been registered with Orion.

Here is an example usage showing how to query all registered content types and print them to the console:

    serviceRegistry.getService("orion.core.contentTypeRegistry").getContentTypes().then(function(contentTypes) {
        contentTypes.forEach(function(contentType) {
            console.log("Content Type ID: " + contentType.id + ", " +
                    "name: " + contentType.name + ", " +
                    "extends from: " + contentType['extends'] + ", " +
                    "file extension(s): [" + contentType.extension.join(",") + "], " +
                    "filename(s): [" + contentType.filename.join(",") + "], " +
                    "image: " + contentType.image + "\n");
        });
    });

See `orion.core.ContentTypeRegistry` in the Orion client API reference for a complete list of functions available.