Snippet Instance
This viewset automatically provides `list`, `create`, `retrieve`,
`update` and `destroy` actions.
Additionally we also provide an extra `highlight` action.
GET /api/v1/snippets/318/?format=api
http://demo.scanapi.dev/api/v1/snippets/318/?format=api", "id": 318, "highlight": "http://demo.scanapi.dev/api/v1/snippets/318/highlight/?format=api", "owner": "roberto.nunes", "title": "Calculator", "code": "def add(x, y):\\r\\n return x + y\\r\\n\\r\\ndef subtract(x, y):\\r\\n return x - y\\r\\n\\r\\ndef multiply(x, y):\\r\\n return x * y\\r\\n\\r\\ndef divide(x, y):\\r\\n return x / y", "linenos": true, "language": "python", "style": "emacs" }{ "url": "