Canadian News Navigator

Canadian News Navigator · Acciones GPT

News Categories API

  • GET /getCanadaHeadlinesRetrieve latest Canada news headlines
  • GET /getWorldHeadlinesRetrieve latest World news headlines
  • GET /getPoliticsHeadlinesRetrieve latest Politics news headlines
  • GET /getAustralasiaHeadlinesRetrieve latest Australasia news headlines
  • GET /getEuropeUKHeadlinesRetrieve latest Europe & UK news headlines
  • GET /getTechHeadlinesRetrieve latest Tech news headlines
  • GET /getBusinessHeadlinesRetrieve latest Business news headlines
  • GET /getAfricaMiddleEastHeadlinesRetrieve latest Africa & Middle East news headlines
  • GET /getHeadlineAnalysisRetrieve news headline analysis
Esquema original API
{
  "openapi": "3.0.0",
  "info": {
    "title": "News Categories API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://newschat.org"
    }
  ],
  "paths": {
    "/getCanadaHeadlines": {
      "get": {
        "operationId": "getCanadaHeadlines",
        "summary": "Retrieve latest Canada news headlines",
        "responses": {
          "200": {
            "description": "Canada news headlines",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "headline": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/getWorldHeadlines": {
      "get": {
        "operationId": "getWorldHeadlines",
        "summary": "Retrieve latest World news headlines",
        "responses": {
          "200": {
            "description": "World news headlines",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "headline": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/getPoliticsHeadlines": {
      "get": {
        "operationId": "getPoliticsHeadlines",
        "summary": "Retrieve latest Politics news headlines",
        "responses": {
          "200": {
            "description": "Politics news headlines",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "headline": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/getAustralasiaHeadlines": {
      "get": {
        "operationId": "getAustralasiaHeadlines",
        "summary": "Retrieve latest Australasia news headlines",
        "responses": {
          "200": {
            "description": "Australasia news headlines",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "headline": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/getEuropeUKHeadlines": {
      "get": {
        "operationId": "getEuropeUKHeadlines",
        "summary": "Retrieve latest Europe & UK news headlines",
        "responses": {
          "200": {
            "description": "Europe & UK news headlines",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "headline": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/getTechHeadlines": {
      "get": {
        "operationId": "getTechHeadlines",
        "summary": "Retrieve latest Tech news headlines",
        "responses": {
          "200": {
            "description": "Tech news headlines",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "headline": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/getBusinessHeadlines": {
      "get": {
        "operationId": "getBusinessHeadlines",
        "summary": "Retrieve latest Business news headlines",
        "responses": {
          "200": {
            "description": "Business news headlines",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "headline": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/getAfricaMiddleEastHeadlines": {
      "get": {
        "operationId": "getAfricaMiddleEastHeadlines",
        "summary": "Retrieve latest Africa & Middle East news headlines",
        "responses": {
          "200": {
            "description": "Africa & Middle East news headlines",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "headline": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/getHeadlineAnalysis": {
      "get": {
        "operationId": "getHeadlineAnalysis",
        "summary": "Retrieve news headline analysis",
        "responses": {
          "200": {
            "description": "News headline analysis",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "analysis": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    }
  }
}