---
agentTools:
  projectIndex: https://nick-cannon-baby-api.readme.io/llms.txt
---

# Ordered Baby

Retrieve a specific Nick Cannon baby by his or her index in the chronological order of all results.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "The Nick Cannon Baby API",
    "license": {
      "name": "MIT"
    }
  },
  "servers": [
    {
      "url": "https://nick-cannon-baby-api.onrender.com/babies"
    }
  ],
  "paths": {
    "/ordered/{index}": {
      "get": {
        "summary": "Ordered Baby",
        "description": "Retrieve a specific Nick Cannon baby by his or her index in the chronological order of all results.",
        "operationId": "ordered",
        "tags": [
          "baby"
        ],
        "parameters": [
          {
            "name": "index",
            "in": "path",
            "description": "Index within results array. Either a single index or a range. Range is between a first index and a second index, inclusive.",
            "required": true,
            "examples": {
              "single": {
                "value": 0
              },
              "range": {
                "value": "3-7"
              }
            },
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "An array of Nick Cannon babies",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Babies"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "response": {
                    "summary": "Invalid index input",
                    "value": "400 Bad Request: Index should be a number or a range between two numbers"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Baby": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "Monroe Cannon"
          },
          "birthday": {
            "type": "string",
            "format": "date",
            "pattern": "/([0-9]{2})\\/(?:[0-9]{2})\\/([0-9]{4})/",
            "example": "04/30/2011"
          },
          "gender": {
            "type": "string",
            "example": "male"
          },
          "twin": {
            "type": "boolean",
            "example": true
          },
          "approximate_conception_date": {
            "type": "string",
            "format": "date",
            "pattern": "/([0-9]{2})\\/(?:[0-9]{2})\\/([0-9]{4})/",
            "example": "08/07/2010"
          },
          "mother": {
            "type": "string",
            "example": "Mariah Carey"
          },
          "mother_age_at_birth": {
            "type": "integer",
            "example": 41
          },
          "nick_cannon_age_at_birth": {
            "type": "integer",
            "example": 30
          },
          "current_child_with_mother": {
            "type": "integer",
            "example": 1
          },
          "total_children_with_mother": {
            "type": "integer",
            "example": 2
          },
          "status": {
            "type": "object",
            "properties": {
              "alive": {
                "type": "boolean",
                "example": true
              },
              "date_of_passing": {
                "type": "string",
                "format": "date",
                "pattern": "/([0-9]{2})\\/(?:[0-9]{2})\\/([0-9]{4})/",
                "example": "12/05/2021"
              },
              "age": {
                "type": "object",
                "properties": {
                  "years": {
                    "type": "integer",
                    "example": 11
                  },
                  "months": {
                    "type": "integer",
                    "example": 6
                  },
                  "days": {
                    "type": "integer",
                    "example": 26
                  }
                }
              }
            }
          }
        }
      },
      "Babies": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Baby"
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 154,
      "1": 98,
      "2": 179,
      "3": 34,
      "4": 177,
      "5": 121,
      "6": 68,
      "7": 205,
      "8": 141,
      "9": 154,
      "10": 55,
      "11": 123
    }
  }
}
```