---
updatedAt: 2025-06-05T22:00:14.000Z
agentTools:
  projectIndex: https://sportnginsite.readme.io/llms.txt
---

# News Articles Index

The Index method returns an array of News Articles (including information about their placement in the page structure) matching the given parameters.

###Parameters

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.sportngin.com"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/news_articles": {
      "get": {
        "summary": "News Articles Index",
        "description": "The Index method returns an array of News Articles (including information about their placement in the page structure) matching the given parameters.\n\n###Parameters",
        "operationId": "news-articles-index",
        "parameters": [
          {
            "name": "connections",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "page_elements",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "[\n  {\n    \"id\": 634672,\n    \"title\": \"Bears to Play Cyclists!!\",\n    \"teaser\": \"Don't Miss This One!!!\",\n    \"author\": \"Clark Kent\",\n    \"news_date\": \"2016-04-06T13:00:00-07:00\",\n    \"updated_on\": \"2016-04-08T09:31:23-07:00\",\n    \"created_on\": \"2016-04-08T09:04:54-07:00\",\n    \"image_id\": null,\n    \"content_node_id\": 20528244,\n    \"status\": \"published\",\n    \"preview_text\": null,\n    \"show_image_with_article\": true,\n    \"show_image_in_aggregator\": true,\n    \"show_preview_text_with_article\": true,\n    \"show_preview_text_in_aggregator\": true,\n    \"article_type\": \"ngin\",\n    \"news_expiration_date\": null,\n    \"owner_site_id\": null,\n    \"override_default_head_code\": null,\n    \"custom_head_code\": null,\n    \"content_node\": {\n        \"id\": 20528244,\n        \"updated_on\": \"2016-04-08T09:04:54-07:00\",\n        \"created_on\": \"2016-04-08T09:04:54-07:00\",\n        \"resource_type\": \"NewsArticle\",\n        \"layout_containers\": [\n            {\n                \"id\": 23018184,\n                \"content_node_id\": 20528244,\n                \"layout_type\": \"oneColumn\",\n                \"locked\": false,\n                \"position\": 1,\n                \"created_at\": \"2016-04-08T09:04:54-07:00\",\n                \"updated_at\": \"2016-04-08T09:04:54-07:00\",\n                \"custom_css_class\": null,\n                \"mirror_target_id\": null,\n                \"name\": null,\n                \"layout_columns\": [\n                    {\n                        \"id\": 27998042,\n                        \"layout_container_id\": 23018184,\n                        \"position\": 1,\n                        \"page_elements\": []\n                    }\n                ]\n            }\n        ]\n    },\n    \"comment_element\": {\n        \"id\": 289847569,\n        \"login_required\": false,\n        \"approval_required\": false,\n        \"created_at\": \"2016-04-08T09:04:54-07:00\",\n        \"updated_at\": \"2016-04-08T09:04:54-07:00\",\n        \"title\": \"Comments\",\n        \"ascending_sort_order\": false,\n        \"site_id\": 11953,\n        \"enabled\": true,\n        \"source_id\": 634672,\n        \"source_type\": \"NewsArticle\",\n        \"comments\": []\n    },\n    \"url_string\": \"https://apidemo.sportngin.com/news_article/show/634672\",\n    \"thumbnails\": {},\n    \"sanitized_content\": \"\",\n    \"page_node_tags\": [\n        {\n            \"id\": 2458139,\n            \"site_id\": 11953,\n            \"content_node_id\": 20151774,\n            \"lft\": 73,\n            \"rgt\": 74,\n            \"parent_id\": 2458074,\n            \"button_title\": \"Boston\",\n            \"page_title\": \"Boston Bears\",\n            \"display_status\": \"public\",\n            \"updated_on\": \"2021-09-17T09:39:48-07:00\",\n            \"created_on\": \"2016-03-22T13:19:12-07:00\",\n            \"in_trash\": false,\n            \"css_id\": \"\",\n            \"node_type\": \"TeamInstance\",\n            \"node_id\": 1876243,\n            \"has_events\": true,\n            \"has_news\": true,\n            \"extended_button_title\": \"Boston\",\n            \"header_code\": null,\n            \"image_id\": null,\n            \"cascade_header_code\": null,\n            \"layout_template\": \"two_panel\",\n            \"page_element_lock_for_edit_access\": null,\n            \"uses_sport_header\": true,\n            \"cache_timeout\": 86400,\n            \"ads_doubleclick_zone_id\": 13,\n            \"friendly_name\": null,\n            \"deleted_tree_id\": null\n        },\n        {\n            \"id\": 2458145,\n            \"site_id\": 11953,\n            \"content_node_id\": 20151838,\n            \"lft\": 77,\n            \"rgt\": 78,\n            \"parent_id\": 2458074,\n            \"button_title\": \"Detroit\",\n            \"page_title\": \"Detroit Cyclists\",\n            \"display_status\": \"public\",\n            \"updated_on\": \"2021-09-17T09:39:48-07:00\",\n            \"created_on\": \"2016-03-22T13:22:41-07:00\",\n            \"in_trash\": false,\n            \"css_id\": \"\",\n            \"node_type\": \"TeamInstance\",\n            \"node_id\": 1876249,\n            \"has_events\": true,\n            \"has_news\": true,\n            \"extended_button_title\": \"Detroit\",\n            \"header_code\": null,\n            \"image_id\": null,\n            \"cascade_header_code\": null,\n            \"layout_template\": \"two_panel\",\n            \"page_element_lock_for_edit_access\": null,\n            \"uses_sport_header\": true,\n            \"cache_timeout\": 86400,\n            \"ads_doubleclick_zone_id\": 13,\n            \"friendly_name\": null,\n            \"deleted_tree_id\": null\n        }\n    ]\n  }\n]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "example": 634672,
                        "default": 0
                      },
                      "title": {
                        "type": "string",
                        "example": "Bears to Play Cyclists!!"
                      },
                      "teaser": {
                        "type": "string",
                        "example": "Don't Miss This One!!!"
                      },
                      "author": {
                        "type": "string",
                        "example": "Clark Kent"
                      },
                      "news_date": {
                        "type": "string",
                        "example": "2016-04-06T13:00:00-07:00"
                      },
                      "updated_on": {
                        "type": "string",
                        "example": "2016-04-08T09:31:23-07:00"
                      },
                      "created_on": {
                        "type": "string",
                        "example": "2016-04-08T09:04:54-07:00"
                      },
                      "image_id": {},
                      "content_node_id": {
                        "type": "integer",
                        "example": 20528244,
                        "default": 0
                      },
                      "status": {
                        "type": "string",
                        "example": "published"
                      },
                      "preview_text": {},
                      "show_image_with_article": {
                        "type": "boolean",
                        "example": true,
                        "default": true
                      },
                      "show_image_in_aggregator": {
                        "type": "boolean",
                        "example": true,
                        "default": true
                      },
                      "show_preview_text_with_article": {
                        "type": "boolean",
                        "example": true,
                        "default": true
                      },
                      "show_preview_text_in_aggregator": {
                        "type": "boolean",
                        "example": true,
                        "default": true
                      },
                      "article_type": {
                        "type": "string",
                        "example": "ngin"
                      },
                      "news_expiration_date": {},
                      "owner_site_id": {},
                      "override_default_head_code": {},
                      "custom_head_code": {},
                      "content_node": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 20528244,
                            "default": 0
                          },
                          "updated_on": {
                            "type": "string",
                            "example": "2016-04-08T09:04:54-07:00"
                          },
                          "created_on": {
                            "type": "string",
                            "example": "2016-04-08T09:04:54-07:00"
                          },
                          "resource_type": {
                            "type": "string",
                            "example": "NewsArticle"
                          },
                          "layout_containers": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "integer",
                                  "example": 23018184,
                                  "default": 0
                                },
                                "content_node_id": {
                                  "type": "integer",
                                  "example": 20528244,
                                  "default": 0
                                },
                                "layout_type": {
                                  "type": "string",
                                  "example": "oneColumn"
                                },
                                "locked": {
                                  "type": "boolean",
                                  "example": false,
                                  "default": true
                                },
                                "position": {
                                  "type": "integer",
                                  "example": 1,
                                  "default": 0
                                },
                                "created_at": {
                                  "type": "string",
                                  "example": "2016-04-08T09:04:54-07:00"
                                },
                                "updated_at": {
                                  "type": "string",
                                  "example": "2016-04-08T09:04:54-07:00"
                                },
                                "custom_css_class": {},
                                "mirror_target_id": {},
                                "name": {},
                                "layout_columns": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "integer",
                                        "example": 27998042,
                                        "default": 0
                                      },
                                      "layout_container_id": {
                                        "type": "integer",
                                        "example": 23018184,
                                        "default": 0
                                      },
                                      "position": {
                                        "type": "integer",
                                        "example": 1,
                                        "default": 0
                                      },
                                      "page_elements": {
                                        "type": "array"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      },
                      "comment_element": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 289847569,
                            "default": 0
                          },
                          "login_required": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          },
                          "approval_required": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          },
                          "created_at": {
                            "type": "string",
                            "example": "2016-04-08T09:04:54-07:00"
                          },
                          "updated_at": {
                            "type": "string",
                            "example": "2016-04-08T09:04:54-07:00"
                          },
                          "title": {
                            "type": "string",
                            "example": "Comments"
                          },
                          "ascending_sort_order": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          },
                          "site_id": {
                            "type": "integer",
                            "example": 11953,
                            "default": 0
                          },
                          "enabled": {
                            "type": "boolean",
                            "example": true,
                            "default": true
                          },
                          "source_id": {
                            "type": "integer",
                            "example": 634672,
                            "default": 0
                          },
                          "source_type": {
                            "type": "string",
                            "example": "NewsArticle"
                          },
                          "comments": {
                            "type": "array"
                          }
                        }
                      },
                      "url_string": {
                        "type": "string",
                        "example": "https://apidemo.sportngin.com/news_article/show/634672"
                      },
                      "thumbnails": {
                        "type": "object",
                        "properties": {}
                      },
                      "sanitized_content": {
                        "type": "string",
                        "example": ""
                      },
                      "page_node_tags": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "integer",
                              "example": 2458139,
                              "default": 0
                            },
                            "site_id": {
                              "type": "integer",
                              "example": 11953,
                              "default": 0
                            },
                            "content_node_id": {
                              "type": "integer",
                              "example": 20151774,
                              "default": 0
                            },
                            "lft": {
                              "type": "integer",
                              "example": 73,
                              "default": 0
                            },
                            "rgt": {
                              "type": "integer",
                              "example": 74,
                              "default": 0
                            },
                            "parent_id": {
                              "type": "integer",
                              "example": 2458074,
                              "default": 0
                            },
                            "button_title": {
                              "type": "string",
                              "example": "Boston"
                            },
                            "page_title": {
                              "type": "string",
                              "example": "Boston Bears"
                            },
                            "display_status": {
                              "type": "string",
                              "example": "public"
                            },
                            "updated_on": {
                              "type": "string",
                              "example": "2021-09-17T09:39:48-07:00"
                            },
                            "created_on": {
                              "type": "string",
                              "example": "2016-03-22T13:19:12-07:00"
                            },
                            "in_trash": {
                              "type": "boolean",
                              "example": false,
                              "default": true
                            },
                            "css_id": {
                              "type": "string",
                              "example": ""
                            },
                            "node_type": {
                              "type": "string",
                              "example": "TeamInstance"
                            },
                            "node_id": {
                              "type": "integer",
                              "example": 1876243,
                              "default": 0
                            },
                            "has_events": {
                              "type": "boolean",
                              "example": true,
                              "default": true
                            },
                            "has_news": {
                              "type": "boolean",
                              "example": true,
                              "default": true
                            },
                            "extended_button_title": {
                              "type": "string",
                              "example": "Boston"
                            },
                            "header_code": {},
                            "image_id": {},
                            "cascade_header_code": {},
                            "layout_template": {
                              "type": "string",
                              "example": "two_panel"
                            },
                            "page_element_lock_for_edit_access": {},
                            "uses_sport_header": {
                              "type": "boolean",
                              "example": true,
                              "default": true
                            },
                            "cache_timeout": {
                              "type": "integer",
                              "example": 86400,
                              "default": 0
                            },
                            "ads_doubleclick_zone_id": {
                              "type": "integer",
                              "example": 13,
                              "default": 0
                            },
                            "friendly_name": {},
                            "deleted_tree_id": {}
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl -X GET -H \"Authorization: Bearer ACCESS_TOKEN\" -H \"Accept: application/json\" -H \"NGIN-API-VERSION: 0.1\" \"https://api.sportngin.com/news_articles?connections[team][]=1373611&includes=page_elements\""
            },
            {
              "language": "ruby",
              "code": "require 'uri'\nrequire 'net/http'\n\nurl = URI(\"https://api.sportngin.com/news_articles?connections%5Bteam%5D%5B%5D=1373611&includes=page_elements\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"authorization\"] = 'Bearer ACCESS_TOKEN'\nrequest[\"accept\"] = 'application/json'\nrequest[\"ngin-api-version\"] = '0.1'\n\nresponse = http.request(request)\nputs response.read_body"
            },
            {
              "language": "java",
              "code": "OkHttpClient client = new OkHttpClient();\n\nRequest request = new Request.Builder()\n  .url(\"https://api.sportngin.com/news_articles?connections%5Bteam%5D%5B%5D=1373611&includes=page_elements\")\n  .get()\n  .addHeader(\"authorization\", \"Bearer ACCESS_TOKEN\")\n  .addHeader(\"accept\", \"application/json\")\n  .addHeader(\"ngin-api-version\", \"0.1\")\n  .build();\n\nResponse response = client.newCall(request).execute();"
            }
          ],
          "samples-languages": [
            "curl",
            "ruby",
            "java"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```