manosim / manosim/django-rest-framework-docs

Live API does not show alternative content type

Open
#138 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
641
Forks
178
PR merge metrics
No merged PRs in 30d

Description

When I use the Live API with my endpoints it always shows this:

screen shot 2016-09-07 at 11 43 35

I'm guessing that since I use content-type `application/vnd.api+json` in my response, that this is not picked up.

Is there any way to tell the Live API to accept a different content type?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Live API behavior with an endpoint returning application/vnd.api+json, then trace how the Live API determines accepted response content types. Confirm how the documented or displayed content type is selected; done means an alternative content type is recognized and shown correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
api, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.