Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sample Swagger Spec for the EVE XML API
swagger: '2.0'
info:
title: Eve Online XML Endpoint API
description: Eve Online XML Endpoint API
version: 1.0.0
host: api.eveonline.com
schemes:
- https
produces:
- application/xml
paths:
/server/ServerStatus.xml.aspx:
get:
summary: Current Tranquility server status
tags:
- Server
responses:
200:
description: Server status
schema:
$ref: '#/definitions/ServerStatus'
400:
description: Error
schema:
$ref: '#/definitions/ErrorResponse'
definitions:
ServerResponse:
type: object
xml:
name: eveapi
properties:
version:
type: integer
xml:
attribute: true
currentTime:
type: string
cachedUntil:
type: string
ErrorResponse:
allOf:
- $ref: '#/definitions/ServerResponse'
- type: object
properties:
error:
type: string
properties:
code:
type: integer
xml:
attribute: true
ServerStatus:
allOf:
- $ref: '#/definitions/ServerResponse'
- type: object
properties:
result:
type: object
properties:
serverOpen:
type: string
onlinePlayers:
type: integer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.