<commit_before>---
title: JSON API
---

# JSON API

See also: 

- [Writing](/write)
- [Extending](/extending)
- [History](/history)

## Status

**This document is a work in progress** and will likely change over the
next month as implementation work progresses. Implementors should be
aware that this specification is not stable. It is currently missing
some details about the `meta` attribute and could be more precise about
details of working with relationships.

Work on this specification is being done at its 
[GitHub repository](https://github.com/json-api/json-api). Please feel 
free to help flesh it out or, if you try to write an implementation, to 
tell us where things were ambiguous. The best way to do so is to 
[file an Issue](https://github.com/json-api/json-api/issues).

## Abstract

There are two JSON API styles:

* [The ID Style](#toc_id-based-json-api)
* [The URL Style](#toc_url-based-json-api)
<commit_msg>Add note about content type.<commit_after>---
title: JSON API
---

# JSON API

See also: 

- [Writing](/write)
- [Extending](/extending)
- [History](/history)

## Status

**This document is a work in progress** and will likely change over the
next month as implementation work progresses. Implementors should be
aware that this specification is not stable. It is currently missing
some details about the `meta` attribute and could be more precise about
details of working with relationships.

Work on this specification is being done at its 
[GitHub repository](https://github.com/json-api/json-api). Please feel 
free to help flesh it out or, if you try to write an implementation, to 
tell us where things were ambiguous. The best way to do so is to 
[file an Issue](https://github.com/json-api/json-api/issues).

## Abstract

This document describes the 'application/vnd.api+json' media type. It is
currently going through the process of being registered with IANA.

There are two JSON API styles:

* [The ID Style](#toc_id-based-json-api)
* [The URL Style](#toc_url-based-json-api)

{'fraction_non_alphanumeric': 0.09523809523809523, 'fraction_numerical': 0.0, 'mean_word_length': 4.119289340101523, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6838021', 'n_tokens_mistral': 591, 'n_tokens_neox': 565, 'n_words': 263}