Files
animethemes-api-docs/docs/resource/show
paranarimasuandGitHub 57dd7eecd7 fix: update links to production domain (#23)
* fix: update links to production domain

* add missing README change
2022-05-31 20:46:45 -05:00
..

title
title
Resource Show

Resource Show Endpoint

The resource show endpoint returns an external resource.

For example, the /api/resource/1083 will return the MyAnimeList resource for the Bakemonogatari anime.

URL

GET /api/resource/{id}

Authentication

None

Parameters

Name Required Description
fields No Sparse fieldsets for resource types
filter No Filters to constrain the inclusion of related resources
include No Inclusion of related resources
sort No Sort related resources

Response

{
    resource: {
        id: id,
        link: "link",
        external_id: external_id,
        site: "site",
        created_at: "created_at",
        updated_at: "updated_at",
        deleted_at: "deleted_at",
        link: "link"
    }
}
```bash curl https://api.animethemes.moe/resource/1083 ```