GET api/v{version}/competition?page={page}&pageSize={pageSize}

Get list of all the available competitions. A request for more details requires a subscription.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
page

integer

Default value is 0

pageSize

integer

Default value is 0

version

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CompetitionViewModel
NameDescriptionTypeAdditional information
CompetitionId

integer

None.

Title

string

None.

Type

string

None.

Organisation

string

None.

OrganisationId

integer

None.

LevelOfDetail

string

None.

Labels

Collection of LabelViewModel

None.

Modified

date

None.

Group

string

None.

GroupId

integer

None.

TypeId

integer

None.

Url

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CompetitionId": 1,
    "Title": "sample string 2",
    "Type": "sample string 3",
    "Organisation": "sample string 4",
    "OrganisationId": 5,
    "LevelOfDetail": "sample string 6",
    "Labels": [
      {
        "LabelId": 1,
        "Name": "sample string 2",
        "Slug": "sample string 3"
      },
      {
        "LabelId": 1,
        "Name": "sample string 2",
        "Slug": "sample string 3"
      }
    ],
    "Modified": "2023-09-30T03:51:49.6453388+02:00",
    "Group": "sample string 8",
    "GroupId": 9,
    "TypeId": 1,
    "Url": "sample string 10"
  },
  {
    "CompetitionId": 1,
    "Title": "sample string 2",
    "Type": "sample string 3",
    "Organisation": "sample string 4",
    "OrganisationId": 5,
    "LevelOfDetail": "sample string 6",
    "Labels": [
      {
        "LabelId": 1,
        "Name": "sample string 2",
        "Slug": "sample string 3"
      },
      {
        "LabelId": 1,
        "Name": "sample string 2",
        "Slug": "sample string 3"
      }
    ],
    "Modified": "2023-09-30T03:51:49.6453388+02:00",
    "Group": "sample string 8",
    "GroupId": 9,
    "TypeId": 1,
    "Url": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCompetitionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
  <CompetitionViewModel>
    <CompetitionId>1</CompetitionId>
    <Group>sample string 8</Group>
    <GroupId>9</GroupId>
    <Labels>
      <LabelViewModel>
        <LabelId>1</LabelId>
        <Name>sample string 2</Name>
        <Slug>sample string 3</Slug>
      </LabelViewModel>
      <LabelViewModel>
        <LabelId>1</LabelId>
        <Name>sample string 2</Name>
        <Slug>sample string 3</Slug>
      </LabelViewModel>
    </Labels>
    <LevelOfDetail>sample string 6</LevelOfDetail>
    <Modified>2023-09-30T03:51:49.6453388+02:00</Modified>
    <Organisation>sample string 4</Organisation>
    <OrganisationId>5</OrganisationId>
    <Title>sample string 2</Title>
    <Type>sample string 3</Type>
  </CompetitionViewModel>
  <CompetitionViewModel>
    <CompetitionId>1</CompetitionId>
    <Group>sample string 8</Group>
    <GroupId>9</GroupId>
    <Labels>
      <LabelViewModel>
        <LabelId>1</LabelId>
        <Name>sample string 2</Name>
        <Slug>sample string 3</Slug>
      </LabelViewModel>
      <LabelViewModel>
        <LabelId>1</LabelId>
        <Name>sample string 2</Name>
        <Slug>sample string 3</Slug>
      </LabelViewModel>
    </Labels>
    <LevelOfDetail>sample string 6</LevelOfDetail>
    <Modified>2023-09-30T03:51:49.6453388+02:00</Modified>
    <Organisation>sample string 4</Organisation>
    <OrganisationId>5</OrganisationId>
    <Title>sample string 2</Title>
    <Type>sample string 3</Type>
  </CompetitionViewModel>
</ArrayOfCompetitionViewModel>