Gist Comment

A comment made to a gist.

APIs.ioEngineeringPlatform

Properties

Name Type Description
id integer
node_id string
url string
body string The comment text.
user object
created_at string
updated_at string
author_association object
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-gist-comment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/gist-comment",
  "title": "Gist Comment",
  "description": "A comment made to a gist.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "example": 1
    },
    "node_id": {
      "type": "string",
      "example": "MDExOkdpc3RDb21tZW50MQ=="
    },
    "url": {
      "type": "string",
      "format": "uri",
      "example": "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1"
    },
    "body": {
      "description": "The comment text.",
      "type": "string",
      "maxLength": 65535,
      "example": "Body of the attachment"
    },
    "user": {
      "$ref": "#/components/schemas/nullable-simple-user"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "example": "2011-04-18T23:23:56Z"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "example": "2011-04-18T23:23:56Z"
    },
    "author_association": {
      "$ref": "#/components/schemas/author-association"
    }
  },
  "required": [
    "url",
    "id",
    "node_id",
    "user",
    "body",
    "author_association",
    "created_at",
    "updated_at"
  ]
}