Files
animethemes-api-docs/docs/image/show/README.md
T
2021-06-29 23:06:37 -05:00

1.1 KiB

title
title
Image Show

Image Show Endpoint

The image show endpoint returns an image resource.

For example, /api/image/435 endpoint will return the large cover image for the Bakemonogatari anime.

URL

GET /api/image/{id}

Parameters

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

Response

Status: 200

{
    image: {
        id: id,
        path: "path",
        size: size,
        mimetype: "mimetype",
        facet: "facet",
        created_at: "created_at",
        updated_at: "updated_at",
        deleted_at: "deleted_at",
        link: "link"
    }
}
```bash curl https://staging.animethemes.moe/api/image/435 ```