# Release

## Create a new user

`Release` Interface describing the release object.

<pre class="language-typescript" data-overflow="wrap" data-line-numbers><code class="lang-typescript">interface Release {
	id: number
	type: <a data-footnote-ref href="#user-content-fn-1">Type</a>
	year: number
	name: <a data-footnote-ref href="#user-content-fn-2">Names</a>
	alias: string
	season: <a data-footnote-ref href="#user-content-fn-3">Season</a>
	poster: <a data-footnote-ref href="#user-content-fn-4">Image</a>
	fresh_at: string
	created_at: string
	updated_at: string
	is_ongoing: boolean
	age_rating: <a data-footnote-ref href="#user-content-fn-5">Age_Rating</a>
	publish_day: <a data-footnote-ref href="#user-content-fn-6">Publish_Day</a>
	description: string
	notification: string
	episodes_total: number
	external_player: string
	is_in_production: boolean
	is_blocked_by_geo: boolean
	episodes_are_unknown: boolean
	is_blocked_by_copyrights: boolean
	average_duration_of_episode: number
	genres: <a data-footnote-ref href="#user-content-fn-7">Genre</a>[]
	episodes: <a data-footnote-ref href="#user-content-fn-8">Episode</a>[]
}
</code></pre>

[^1]: [Type Interface](https://zetharionn.gitbook.io/aniapi-docs/anilibria-api/types/type)

    ```typescript
    interface Type {
    	value: string
    	description: string
    }
    ```

[^2]: [Names Interface](https://zetharionn.gitbook.io/aniapi-docs/anilibria-api/types/names)

    ```typescript
    interface Names {
    	main: string
    	english: string
    	alternative: string
    }
    ```

[^3]: [Season Interface](https://zetharionn.gitbook.io/aniapi-docs/anilibria-api/types/season)

    ```typescript
    interface Season {
    	value: string
    	description: string
    }
    ```

[^4]: [Image Interface](https://zetharionn.gitbook.io/aniapi-docs/anilibria-api/types/image)

    ```typescript
    interface Image {
    	src: string
    	thumbnail: string
    	optimized: Omit<Image, 'optimized'>
    }
    ```

[^5]: [Age\_Rating Interface](https://zetharionn.gitbook.io/aniapi-docs/anilibria-api/types/age_rating)

    ```typescript
    interface Age_Rating {
    	value: string
    	label: string
    	is_adult: boolean
    	description: string
    }
    ```

[^6]: [Publish\_Day Interface](https://zetharionn.gitbook.io/aniapi-docs/anilibria-api/types/publish_day)

    ```typescript
    interface Publish_Day {
    	value: string
    	description: string
    }
    ```

[^7]: [Genre Interface](https://zetharionn.gitbook.io/aniapi-docs/anilibria-api/types/genre)

    ```typescript
    interface Genre {
    	id: number
    	name: string
    	total_releases: number
    	image: GenreImage
    }
    ```

[^8]: [Episode Interface](https://zetharionn.gitbook.io/aniapi-docs/anilibria-api/types/episode)

    ```typescript
    interface Episode {
    	id: string
    	name: string
    	ordinal: number
    	opening: Timing
    	ending: Timing
    	preview: Image
    	hls_480: string
    	hls_720: string
    	hls_1080: string
    	duration: number
    	updated_at: string
    	sort_order: number
    	name_english: string
    }
    ```
