Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions openapi/components/schemas/alert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ properties:
allOf:
- $ref: ./mission.yaml
- description: Mission to be completed to earn the reward
expired:
type: boolean
eta:
$ref: ./eta.yaml
rewardTypes:
type: array
items:
Expand Down
10 changes: 0 additions & 10 deletions openapi/components/schemas/archonHunt.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
allOf:
- $ref: ./worldstateObject.yaml
- required:
- activation
- boss
- eta
- expired
- expiry
- faction
- id
- rewardPool
- missions
type: object
Expand All @@ -32,8 +27,3 @@ allOf:
allOf:
- $ref: ./faction.yaml
- description: Unlocalized Faction of the boss controlling the archon hunt
expired:
type: boolean
eta:
minLength: 1
type: string
3 changes: 0 additions & 3 deletions openapi/components/schemas/cambionCycle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,3 @@ properties:
enum:
- vome
- fass
timeLeft:
minLength: 1
type: string
1 change: 0 additions & 1 deletion openapi/components/schemas/cetusCycle.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
allOf:
- $ref: ./worldstateObject.yaml
- required:
- expiry
- isCetus
- isDay
- timeLeft
Expand Down
15 changes: 0 additions & 15 deletions openapi/components/schemas/conclaveChallenges.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@ type: array
items:
required:
- amount
- asString
- category
- daily
- description
- endString
- eta
- expired
- expiry
- id
- mode
Expand All @@ -21,14 +17,6 @@ items:
type: string
amount:
type: number
eta:
minLength: 1
type: string
expired:
type: boolean
endString:
minLength: 1
type: string
daily:
type: boolean
description:
Expand All @@ -40,9 +28,6 @@ items:
expiry:
minLength: 1
type: string
asString:
minLength: 1
type: string
category:
minLength: 1
type: string
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/darkSectors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ minItems: 1
type: array
items:
required:
- defenderDeployemntActivation
- defenderDeploymentActivation
- defenderMOTD
- defenderName
- deployerClan
Expand Down
2 changes: 0 additions & 2 deletions openapi/components/schemas/earthCycle.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
allOf:
- $ref: ./worldstateObject.yaml
- required:
- expiry
- id
- isDay
- timeLeft
type: object
Expand Down
10 changes: 0 additions & 10 deletions openapi/components/schemas/fissure.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
type: object
required:
- activation
- enemy
- eta
- expired
- expiry
- id
- missionType
- node
- tier
Expand All @@ -15,11 +10,6 @@ properties:
minLength: 1
type: string
description: Node name with planet
expired:
type: boolean
description: Whether the fissure is still present
eta:
$ref: ./eta.yaml
missionType:
allOf:
- $ref: ./missionType.yaml
Expand Down
6 changes: 0 additions & 6 deletions openapi/components/schemas/flashSales.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ allOf:
items:
required:
- discount
- eta
- isFeatured
- isPopular
- item
Expand All @@ -14,11 +13,6 @@ allOf:
item:
minLength: 1
type: string
expired:
type: boolean
eta:
minLength: 1
type: string
discount:
type: number
premiumOverride:
Expand Down
3 changes: 0 additions & 3 deletions openapi/components/schemas/globalUpgrades.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ items:
upgradeOperationValue:
description: Value corresponding to performing the operation
type: number
expired:
description: Whether the upgrade has expired
type: boolean
eta:
description: Formatted short string designating when the upgrade will expire.
type: string
Expand Down
3 changes: 0 additions & 3 deletions openapi/components/schemas/invasion.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
allOf:
- $ref: ./worldstateObject.yaml
- required:
- activation
- attackingFaction
- completed
- completion
- count
- defendingFaction
- desc
- eta
- id
- node
- requiredRuns
- vsInfestation
Expand Down
36 changes: 36 additions & 0 deletions openapi/components/schemas/sentientOutposts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
type: object
# derive type from https://api.warframestat.us/pc/sentientOutposts/?language=en
required:
- node
- id
- activation
- expiry
- mission
- active
properties:
id:
minLength: 1
type: string
node:
type: number
format: integer
activation:
$ref: ./timestamp.yaml
expiry:
$ref: ./timestamp.yaml
active:
type: boolean
mission:
type: object
required:
- node
- type
- faction
properties:
node:
type: string
description: Localized node name
type:
$ref: ./missionType.yaml
faction:
$ref: ./faction.yaml
12 changes: 1 addition & 11 deletions openapi/components/schemas/sortie.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
allOf:
- $ref: ./worldstateObject.yaml
- required:
- activation
- boss
- eta
- expired
- expiry
- faction
- id
- rewardPool
- variants
type: object
Expand Down Expand Up @@ -56,9 +51,4 @@ allOf:
factionKey:
allOf:
- $ref: ./faction.yaml
- description: Unlocalized Faction of the boss controlling the sortie
expired:
type: boolean
eta:
minLength: 1
type: string
- description: Unlocalized Faction of the boss controlling the sortie
8 changes: 2 additions & 6 deletions openapi/components/schemas/syndicateMission.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ properties:
minLength: 1
type: string
expiry:
minLength: 1
type: string
format: date-time
$ref: ./timestamp.yaml
activation:
format: date-time
minLength: 1
type: string
$ref: ./timestamp.yaml
9 changes: 9 additions & 0 deletions openapi/components/schemas/timestamp.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
minLength: 1
type: string
format: date-time
description: >
A timestamp in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ) representing a specific point in time.
This format is commonly used in APIs to ensure consistent date and time representation.
The timestamp is in UTC (Coordinated Universal Time) and does not include any timezone offset.
It is used to represent events, deadlines, or any time-related information in a standardized way.
Example: "2023-10-01T12:00:00Z" represents October 1, 2023, at 12:00 PM UTC.
example: "2023-10-01T12:00:00Z"

11 changes: 1 addition & 10 deletions openapi/components/schemas/worldstateObject.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,4 @@ properties:
format: date-time
description: ISO-8601 formatted timestamp for when the event began
expiry:
type: string
minLength: 1
format: date-time
description: ISO-8601 formatted timestamp for when the event is expected to end
startString:
type: string
description: Short-time-formatted duration string representing the start of the event
active:
type: boolean
description: Whether the event is currently active
$ref: ./timestamp.yaml
2 changes: 2 additions & 0 deletions openapi/components/schemas/ws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ properties:
$ref: ./nightwave.yaml
persistentEnemies:
$ref: ./persistentEnemies.yaml
sentientOutposts:
$ref: ./sentientOutposts.yaml
simaris:
$ref: ./simaris.yaml
sortie:
Expand Down
67 changes: 34 additions & 33 deletions openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,72 +40,73 @@ tags:
description: Proxy data for Digital Extreme's semi-regular Riven Data dumps
- name: Static Processing Data
description: Direct access via API to the data we use to parse the worldstate
security: []
paths:
/{platform}:
/pc:
$ref: paths/{platform}.yaml
/{platform}/alerts:
/pc/alerts:
$ref: paths/{platform}@alerts.yaml
/{platform}/arbitration:
/pc/arbitration:
$ref: paths/{platform}@arbitration.yaml
/{platform}/archonHunt:
/pc/archonHunt:
$ref: paths/{platform}@archonHunt.yaml
/{platform}/cambionCycle:
/pc/cambionCycle:
$ref: paths/{platform}@cambionCycle.yaml
/{platform}/cetusCycle:
/pc/cetusCycle:
$ref: paths/{platform}@cetusCycle.yaml
/{platform}/conclaveChallenges:
/pc/conclaveChallenges:
$ref: paths/{platform}@conclaveChallenges.yaml
/{platform}/constructionProgress:
/pc/constructionProgress:
$ref: paths/{platform}@constructionProgress.yaml
/{platform}/dailyDeals:
/pc/dailyDeals:
$ref: paths/{platform}@dailyDeals.yaml
/{platform}/darkSectors:
/pc/darkSectors:
$ref: paths/{platform}@darkSectors.yaml
/{platform}/deepArchimedea:
/pc/deepArchimedea:
$ref: paths/{platform}@deepArchimedea.yaml
/{platform}/earthCycle:
/pc/earthCycle:
$ref: paths/{platform}@earthCycle.yaml
/{platform}/events:
/pc/events:
$ref: paths/{platform}@events.yaml
/{platform}/fissures:
/pc/fissures:
$ref: paths/{platform}@fissures.yaml
/{platform}/flashSales:
/pc/flashSales:
$ref: paths/{platform}@flashSales.yaml
/{platform}/globalUpgrades:
/pc/globalUpgrades:
$ref: paths/{platform}@globalUpgrades.yaml
/{platform}/invasions:
/pc/invasions:
$ref: paths/{platform}@invasions.yaml
/{platform}/kuva:
/pc/kuva:
$ref: paths/{platform}@kuva.yaml
/{platform}/news:
/pc/news:
$ref: paths/{platform}@news.yaml
/{platform}/nightwave:
/pc/nightwave:
$ref: paths/{platform}@nightwave.yaml
/{platform}/persistentEnemies:
/pc/persistentEnemies:
$ref: paths/{platform}@persistentEnemies.yaml
/{platform}/rivens:
/pc/rivens:
$ref: paths/{platform}@rivens.yaml
/{platform}/rivens/search/{query}:
/pc/rivens/search/{query}:
$ref: paths/{platform}@rivens@search@{query}.yaml
/{platform}/sentientOutposts:
/pc/sentientOutposts:
$ref: paths/{platform}@sentientOutposts.yaml
/{platform}/simaris:
/pc/simaris:
$ref: paths/{platform}@simaris.yaml
/{platform}/sortie:
/pc/sortie:
$ref: paths/{platform}@sortie.yaml
/{platform}/steelPath:
/pc/steelPath:
$ref: paths/{platform}@steelPath.yaml
/{platform}/syndicateMissions:
/pc/syndicateMissions:
$ref: paths/{platform}@syndicateMissions.yaml
/{platform}/timestamp:
/pc/timestamp:
$ref: paths/{platform}@timestamp.yaml
/{platform}/vallisCycle:
/pc/vallisCycle:
$ref: paths/{platform}@vallisCycle.yaml
/{platform}/vaultTrader:
/pc/vaultTrader:
$ref: paths/{platform}@vaultTrader.yaml
/{platform}/voidTrader:
/pc/voidTrader:
$ref: paths/{platform}@voidTrader.yaml
/{platform}/voidTraders:
/pc/voidTraders:
$ref: paths/{platform}@voidTraders.yaml
/arcanes:
$ref: paths/arcanes.yaml
Expand Down
Loading