-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.json
More file actions
1 lines (1 loc) · 55.5 KB
/
openapi.json
File metadata and controls
1 lines (1 loc) · 55.5 KB
1
{"swagger": "2.0", "info": {"description": "standard public schema", "title": "PostgREST API", "version": "9.0.0.20220211 (pre-release) (dcf7ade)"}, "host": "0.0.0.0:3000", "basePath": "/", "schemes": ["http"], "consumes": ["application/json", "application/vnd.pgrst.object+json", "text/csv"], "produces": ["application/json", "application/vnd.pgrst.object+json", "text/csv"], "paths": {"/": {"get": {"tags": ["Introspection"], "summary": "OpenAPI description (this document)", "produces": ["application/openapi+json", "application/json"], "responses": {"200": {"description": "OK"}}}}, "/Character": {"get": {"tags": ["Character"], "summary": "Basic information about Character", "parameters": [{"$ref": "#/parameters/rowFilter.Character.id"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/order"}, {"$ref": "#/parameters/range"}, {"$ref": "#/parameters/rangeUnit"}, {"$ref": "#/parameters/offset"}, {"$ref": "#/parameters/limit"}, {"$ref": "#/parameters/preferCount"}], "responses": {"206": {"description": "Partial Content"}, "200": {"description": "OK", "schema": {"items": {"$ref": "#/definitions/Character"}, "type": "array"}}}}, "post": {"tags": ["Character"], "summary": "Basic information about Character", "parameters": [{"$ref": "#/parameters/body.Character"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"201": {"description": "Created"}}}, "delete": {"tags": ["Character"], "summary": "Basic information about Character", "parameters": [{"$ref": "#/parameters/rowFilter.Character.id"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}, "patch": {"tags": ["Character"], "summary": "Basic information about Character", "parameters": [{"$ref": "#/parameters/rowFilter.Character.id"}, {"$ref": "#/parameters/body.Character"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}}, "/Character_Attribute": {"get": {"tags": ["Character_Attribute"], "summary": "Attributes associated with Character", "parameters": [{"$ref": "#/parameters/rowFilter.Character_Attribute.character_id"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.name"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.value"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.text"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.id"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.interval"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.timestamp"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.bool"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/order"}, {"$ref": "#/parameters/range"}, {"$ref": "#/parameters/rangeUnit"}, {"$ref": "#/parameters/offset"}, {"$ref": "#/parameters/limit"}, {"$ref": "#/parameters/preferCount"}], "responses": {"206": {"description": "Partial Content"}, "200": {"description": "OK", "schema": {"items": {"$ref": "#/definitions/Character_Attribute"}, "type": "array"}}}}, "post": {"tags": ["Character_Attribute"], "summary": "Attributes associated with Character", "parameters": [{"$ref": "#/parameters/body.Character_Attribute"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"201": {"description": "Created"}}}, "delete": {"tags": ["Character_Attribute"], "summary": "Attributes associated with Character", "parameters": [{"$ref": "#/parameters/rowFilter.Character_Attribute.character_id"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.name"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.value"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.text"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.id"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.interval"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.timestamp"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.bool"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}, "patch": {"tags": ["Character_Attribute"], "summary": "Attributes associated with Character", "parameters": [{"$ref": "#/parameters/rowFilter.Character_Attribute.character_id"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.name"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.value"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.text"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.id"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.interval"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.timestamp"}, {"$ref": "#/parameters/rowFilter.Character_Attribute.bool"}, {"$ref": "#/parameters/body.Character_Attribute"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}}, "/Character_Inventory": {"get": {"tags": ["Character_Inventory"], "summary": "Character's Inventory", "parameters": [{"$ref": "#/parameters/rowFilter.Character_Inventory.character_id"}, {"$ref": "#/parameters/rowFilter.Character_Inventory.instance_id"}, {"$ref": "#/parameters/rowFilter.Character_Inventory.quantity"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/order"}, {"$ref": "#/parameters/range"}, {"$ref": "#/parameters/rangeUnit"}, {"$ref": "#/parameters/offset"}, {"$ref": "#/parameters/limit"}, {"$ref": "#/parameters/preferCount"}], "responses": {"206": {"description": "Partial Content"}, "200": {"description": "OK", "schema": {"items": {"$ref": "#/definitions/Character_Inventory"}, "type": "array"}}}}, "post": {"tags": ["Character_Inventory"], "summary": "Character's Inventory", "parameters": [{"$ref": "#/parameters/body.Character_Inventory"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"201": {"description": "Created"}}}, "delete": {"tags": ["Character_Inventory"], "summary": "Character's Inventory", "parameters": [{"$ref": "#/parameters/rowFilter.Character_Inventory.character_id"}, {"$ref": "#/parameters/rowFilter.Character_Inventory.instance_id"}, {"$ref": "#/parameters/rowFilter.Character_Inventory.quantity"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}, "patch": {"tags": ["Character_Inventory"], "summary": "Character's Inventory", "parameters": [{"$ref": "#/parameters/rowFilter.Character_Inventory.character_id"}, {"$ref": "#/parameters/rowFilter.Character_Inventory.instance_id"}, {"$ref": "#/parameters/rowFilter.Character_Inventory.quantity"}, {"$ref": "#/parameters/body.Character_Inventory"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}}, "/Event": {"get": {"tags": ["Event"], "summary": "Event metadata", "parameters": [{"$ref": "#/parameters/rowFilter.Event.id"}, {"$ref": "#/parameters/rowFilter.Event.name"}, {"$ref": "#/parameters/rowFilter.Event.description"}, {"$ref": "#/parameters/rowFilter.Event.start_date"}, {"$ref": "#/parameters/rowFilter.Event.end_date"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/order"}, {"$ref": "#/parameters/range"}, {"$ref": "#/parameters/rangeUnit"}, {"$ref": "#/parameters/offset"}, {"$ref": "#/parameters/limit"}, {"$ref": "#/parameters/preferCount"}], "responses": {"206": {"description": "Partial Content"}, "200": {"description": "OK", "schema": {"items": {"$ref": "#/definitions/Event"}, "type": "array"}}}}, "post": {"tags": ["Event"], "summary": "Event metadata", "parameters": [{"$ref": "#/parameters/body.Event"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"201": {"description": "Created"}}}, "delete": {"tags": ["Event"], "summary": "Event metadata", "parameters": [{"$ref": "#/parameters/rowFilter.Event.id"}, {"$ref": "#/parameters/rowFilter.Event.name"}, {"$ref": "#/parameters/rowFilter.Event.description"}, {"$ref": "#/parameters/rowFilter.Event.start_date"}, {"$ref": "#/parameters/rowFilter.Event.end_date"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}, "patch": {"tags": ["Event"], "summary": "Event metadata", "parameters": [{"$ref": "#/parameters/rowFilter.Event.id"}, {"$ref": "#/parameters/rowFilter.Event.name"}, {"$ref": "#/parameters/rowFilter.Event.description"}, {"$ref": "#/parameters/rowFilter.Event.start_date"}, {"$ref": "#/parameters/rowFilter.Event.end_date"}, {"$ref": "#/parameters/body.Event"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}}, "/Event_Attribute": {"get": {"tags": ["Event_Attribute"], "summary": "Attributes associated with Event", "parameters": [{"$ref": "#/parameters/rowFilter.Event_Attribute.event_id"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.name"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.value"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.text"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.id"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.interval"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.timestamp"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.bool"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/order"}, {"$ref": "#/parameters/range"}, {"$ref": "#/parameters/rangeUnit"}, {"$ref": "#/parameters/offset"}, {"$ref": "#/parameters/limit"}, {"$ref": "#/parameters/preferCount"}], "responses": {"206": {"description": "Partial Content"}, "200": {"description": "OK", "schema": {"items": {"$ref": "#/definitions/Event_Attribute"}, "type": "array"}}}}, "post": {"tags": ["Event_Attribute"], "summary": "Attributes associated with Event", "parameters": [{"$ref": "#/parameters/body.Event_Attribute"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"201": {"description": "Created"}}}, "delete": {"tags": ["Event_Attribute"], "summary": "Attributes associated with Event", "parameters": [{"$ref": "#/parameters/rowFilter.Event_Attribute.event_id"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.name"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.value"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.text"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.id"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.interval"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.timestamp"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.bool"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}, "patch": {"tags": ["Event_Attribute"], "summary": "Attributes associated with Event", "parameters": [{"$ref": "#/parameters/rowFilter.Event_Attribute.event_id"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.name"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.value"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.text"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.id"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.interval"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.timestamp"}, {"$ref": "#/parameters/rowFilter.Event_Attribute.bool"}, {"$ref": "#/parameters/body.Event_Attribute"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}}, "/Instance": {"get": {"tags": ["Instance"], "summary": "Instance metadata", "parameters": [{"$ref": "#/parameters/rowFilter.Instance.id"}, {"$ref": "#/parameters/rowFilter.Instance.name"}, {"$ref": "#/parameters/rowFilter.Instance.item_id"}, {"$ref": "#/parameters/rowFilter.Instance.location_id"}, {"$ref": "#/parameters/rowFilter.Instance.event_id"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/order"}, {"$ref": "#/parameters/range"}, {"$ref": "#/parameters/rangeUnit"}, {"$ref": "#/parameters/offset"}, {"$ref": "#/parameters/limit"}, {"$ref": "#/parameters/preferCount"}], "responses": {"206": {"description": "Partial Content"}, "200": {"description": "OK", "schema": {"items": {"$ref": "#/definitions/Instance"}, "type": "array"}}}}, "post": {"tags": ["Instance"], "summary": "Instance metadata", "parameters": [{"$ref": "#/parameters/body.Instance"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"201": {"description": "Created"}}}, "delete": {"tags": ["Instance"], "summary": "Instance metadata", "parameters": [{"$ref": "#/parameters/rowFilter.Instance.id"}, {"$ref": "#/parameters/rowFilter.Instance.name"}, {"$ref": "#/parameters/rowFilter.Instance.item_id"}, {"$ref": "#/parameters/rowFilter.Instance.location_id"}, {"$ref": "#/parameters/rowFilter.Instance.event_id"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}, "patch": {"tags": ["Instance"], "summary": "Instance metadata", "parameters": [{"$ref": "#/parameters/rowFilter.Instance.id"}, {"$ref": "#/parameters/rowFilter.Instance.name"}, {"$ref": "#/parameters/rowFilter.Instance.item_id"}, {"$ref": "#/parameters/rowFilter.Instance.location_id"}, {"$ref": "#/parameters/rowFilter.Instance.event_id"}, {"$ref": "#/parameters/body.Instance"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}}, "/Instance_Attribute": {"get": {"tags": ["Instance_Attribute"], "summary": "Attributes associated with Instance", "parameters": [{"$ref": "#/parameters/rowFilter.Instance_Attribute.instance_id"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.name"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.value"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.text"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.id"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.interval"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.timestamp"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.bool"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/order"}, {"$ref": "#/parameters/range"}, {"$ref": "#/parameters/rangeUnit"}, {"$ref": "#/parameters/offset"}, {"$ref": "#/parameters/limit"}, {"$ref": "#/parameters/preferCount"}], "responses": {"206": {"description": "Partial Content"}, "200": {"description": "OK", "schema": {"items": {"$ref": "#/definitions/Instance_Attribute"}, "type": "array"}}}}, "post": {"tags": ["Instance_Attribute"], "summary": "Attributes associated with Instance", "parameters": [{"$ref": "#/parameters/body.Instance_Attribute"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"201": {"description": "Created"}}}, "delete": {"tags": ["Instance_Attribute"], "summary": "Attributes associated with Instance", "parameters": [{"$ref": "#/parameters/rowFilter.Instance_Attribute.instance_id"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.name"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.value"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.text"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.id"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.interval"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.timestamp"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.bool"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}, "patch": {"tags": ["Instance_Attribute"], "summary": "Attributes associated with Instance", "parameters": [{"$ref": "#/parameters/rowFilter.Instance_Attribute.instance_id"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.name"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.value"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.text"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.id"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.interval"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.timestamp"}, {"$ref": "#/parameters/rowFilter.Instance_Attribute.bool"}, {"$ref": "#/parameters/body.Instance_Attribute"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}}, "/Item": {"get": {"tags": ["Item"], "summary": "Item metadata", "parameters": [{"$ref": "#/parameters/rowFilter.Item.id"}, {"$ref": "#/parameters/rowFilter.Item.name"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/order"}, {"$ref": "#/parameters/range"}, {"$ref": "#/parameters/rangeUnit"}, {"$ref": "#/parameters/offset"}, {"$ref": "#/parameters/limit"}, {"$ref": "#/parameters/preferCount"}], "responses": {"206": {"description": "Partial Content"}, "200": {"description": "OK", "schema": {"items": {"$ref": "#/definitions/Item"}, "type": "array"}}}}, "post": {"tags": ["Item"], "summary": "Item metadata", "parameters": [{"$ref": "#/parameters/body.Item"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"201": {"description": "Created"}}}, "delete": {"tags": ["Item"], "summary": "Item metadata", "parameters": [{"$ref": "#/parameters/rowFilter.Item.id"}, {"$ref": "#/parameters/rowFilter.Item.name"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}, "patch": {"tags": ["Item"], "summary": "Item metadata", "parameters": [{"$ref": "#/parameters/rowFilter.Item.id"}, {"$ref": "#/parameters/rowFilter.Item.name"}, {"$ref": "#/parameters/body.Item"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}}, "/Item_Attribute": {"get": {"tags": ["Item_Attribute"], "summary": "Attributes associated with Item", "parameters": [{"$ref": "#/parameters/rowFilter.Item_Attribute.item_id"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.name"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.value"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.text"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.id"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.interval"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.timestamp"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.bool"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/order"}, {"$ref": "#/parameters/range"}, {"$ref": "#/parameters/rangeUnit"}, {"$ref": "#/parameters/offset"}, {"$ref": "#/parameters/limit"}, {"$ref": "#/parameters/preferCount"}], "responses": {"206": {"description": "Partial Content"}, "200": {"description": "OK", "schema": {"items": {"$ref": "#/definitions/Item_Attribute"}, "type": "array"}}}}, "post": {"tags": ["Item_Attribute"], "summary": "Attributes associated with Item", "parameters": [{"$ref": "#/parameters/body.Item_Attribute"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"201": {"description": "Created"}}}, "delete": {"tags": ["Item_Attribute"], "summary": "Attributes associated with Item", "parameters": [{"$ref": "#/parameters/rowFilter.Item_Attribute.item_id"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.name"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.value"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.text"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.id"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.interval"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.timestamp"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.bool"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}, "patch": {"tags": ["Item_Attribute"], "summary": "Attributes associated with Item", "parameters": [{"$ref": "#/parameters/rowFilter.Item_Attribute.item_id"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.name"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.value"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.text"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.id"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.interval"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.timestamp"}, {"$ref": "#/parameters/rowFilter.Item_Attribute.bool"}, {"$ref": "#/parameters/body.Item_Attribute"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}}, "/Location": {"get": {"tags": ["Location"], "summary": "Location metadata", "parameters": [{"$ref": "#/parameters/rowFilter.Location.id"}, {"$ref": "#/parameters/rowFilter.Location.name"}, {"$ref": "#/parameters/rowFilter.Location.description"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/order"}, {"$ref": "#/parameters/range"}, {"$ref": "#/parameters/rangeUnit"}, {"$ref": "#/parameters/offset"}, {"$ref": "#/parameters/limit"}, {"$ref": "#/parameters/preferCount"}], "responses": {"206": {"description": "Partial Content"}, "200": {"description": "OK", "schema": {"items": {"$ref": "#/definitions/Location"}, "type": "array"}}}}, "post": {"tags": ["Location"], "summary": "Location metadata", "parameters": [{"$ref": "#/parameters/body.Location"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"201": {"description": "Created"}}}, "delete": {"tags": ["Location"], "summary": "Location metadata", "parameters": [{"$ref": "#/parameters/rowFilter.Location.id"}, {"$ref": "#/parameters/rowFilter.Location.name"}, {"$ref": "#/parameters/rowFilter.Location.description"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}, "patch": {"tags": ["Location"], "summary": "Location metadata", "parameters": [{"$ref": "#/parameters/rowFilter.Location.id"}, {"$ref": "#/parameters/rowFilter.Location.name"}, {"$ref": "#/parameters/rowFilter.Location.description"}, {"$ref": "#/parameters/body.Location"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}}, "/Location_Attribute": {"get": {"tags": ["Location_Attribute"], "summary": "Attributes associated with Location", "parameters": [{"$ref": "#/parameters/rowFilter.Location_Attribute.location_id"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.name"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.value"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.text"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.id"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.interval"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.timestamp"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.bool"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/order"}, {"$ref": "#/parameters/range"}, {"$ref": "#/parameters/rangeUnit"}, {"$ref": "#/parameters/offset"}, {"$ref": "#/parameters/limit"}, {"$ref": "#/parameters/preferCount"}], "responses": {"206": {"description": "Partial Content"}, "200": {"description": "OK", "schema": {"items": {"$ref": "#/definitions/Location_Attribute"}, "type": "array"}}}}, "post": {"tags": ["Location_Attribute"], "summary": "Attributes associated with Location", "parameters": [{"$ref": "#/parameters/body.Location_Attribute"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"201": {"description": "Created"}}}, "delete": {"tags": ["Location_Attribute"], "summary": "Attributes associated with Location", "parameters": [{"$ref": "#/parameters/rowFilter.Location_Attribute.location_id"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.name"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.value"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.text"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.id"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.interval"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.timestamp"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.bool"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}, "patch": {"tags": ["Location_Attribute"], "summary": "Attributes associated with Location", "parameters": [{"$ref": "#/parameters/rowFilter.Location_Attribute.location_id"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.name"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.value"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.text"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.id"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.interval"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.timestamp"}, {"$ref": "#/parameters/rowFilter.Location_Attribute.bool"}, {"$ref": "#/parameters/body.Location_Attribute"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}}, "/Owner": {"get": {"tags": ["Owner"], "summary": "Owner association for Character", "parameters": [{"$ref": "#/parameters/rowFilter.Owner.character_id"}, {"$ref": "#/parameters/rowFilter.Owner.server_id"}, {"$ref": "#/parameters/rowFilter.Owner.user_id"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/order"}, {"$ref": "#/parameters/range"}, {"$ref": "#/parameters/rangeUnit"}, {"$ref": "#/parameters/offset"}, {"$ref": "#/parameters/limit"}, {"$ref": "#/parameters/preferCount"}], "responses": {"206": {"description": "Partial Content"}, "200": {"description": "OK", "schema": {"items": {"$ref": "#/definitions/Owner"}, "type": "array"}}}}, "post": {"tags": ["Owner"], "summary": "Owner association for Character", "parameters": [{"$ref": "#/parameters/body.Owner"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"201": {"description": "Created"}}}, "delete": {"tags": ["Owner"], "summary": "Owner association for Character", "parameters": [{"$ref": "#/parameters/rowFilter.Owner.character_id"}, {"$ref": "#/parameters/rowFilter.Owner.server_id"}, {"$ref": "#/parameters/rowFilter.Owner.user_id"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}, "patch": {"tags": ["Owner"], "summary": "Owner association for Character", "parameters": [{"$ref": "#/parameters/rowFilter.Owner.character_id"}, {"$ref": "#/parameters/rowFilter.Owner.server_id"}, {"$ref": "#/parameters/rowFilter.Owner.user_id"}, {"$ref": "#/parameters/body.Owner"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}}, "/Transaction": {"get": {"tags": ["Transaction"], "summary": "Transaction metadata", "parameters": [{"$ref": "#/parameters/rowFilter.Transaction.id"}, {"$ref": "#/parameters/rowFilter.Transaction.timestamp"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/order"}, {"$ref": "#/parameters/range"}, {"$ref": "#/parameters/rangeUnit"}, {"$ref": "#/parameters/offset"}, {"$ref": "#/parameters/limit"}, {"$ref": "#/parameters/preferCount"}], "responses": {"206": {"description": "Partial Content"}, "200": {"description": "OK", "schema": {"items": {"$ref": "#/definitions/Transaction"}, "type": "array"}}}}, "post": {"tags": ["Transaction"], "summary": "Transaction metadata", "parameters": [{"$ref": "#/parameters/body.Transaction"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"201": {"description": "Created"}}}, "delete": {"tags": ["Transaction"], "summary": "Transaction metadata", "parameters": [{"$ref": "#/parameters/rowFilter.Transaction.id"}, {"$ref": "#/parameters/rowFilter.Transaction.timestamp"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}, "patch": {"tags": ["Transaction"], "summary": "Transaction metadata", "parameters": [{"$ref": "#/parameters/rowFilter.Transaction.id"}, {"$ref": "#/parameters/rowFilter.Transaction.timestamp"}, {"$ref": "#/parameters/body.Transaction"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}}, "/Transaction_Instances": {"get": {"tags": ["Transaction_Instances"], "summary": "Transaction Instances", "parameters": [{"$ref": "#/parameters/rowFilter.Transaction_Instances.transaction_id"}, {"$ref": "#/parameters/rowFilter.Transaction_Instances.instance_id"}, {"$ref": "#/parameters/rowFilter.Transaction_Instances.quantity"}, {"$ref": "#/parameters/rowFilter.Transaction_Instances.recipent_id"}, {"$ref": "#/parameters/rowFilter.Transaction_Instances.sender_id"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/order"}, {"$ref": "#/parameters/range"}, {"$ref": "#/parameters/rangeUnit"}, {"$ref": "#/parameters/offset"}, {"$ref": "#/parameters/limit"}, {"$ref": "#/parameters/preferCount"}], "responses": {"206": {"description": "Partial Content"}, "200": {"description": "OK", "schema": {"items": {"$ref": "#/definitions/Transaction_Instances"}, "type": "array"}}}}, "post": {"tags": ["Transaction_Instances"], "summary": "Transaction Instances", "parameters": [{"$ref": "#/parameters/body.Transaction_Instances"}, {"$ref": "#/parameters/select"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"201": {"description": "Created"}}}, "delete": {"tags": ["Transaction_Instances"], "summary": "Transaction Instances", "parameters": [{"$ref": "#/parameters/rowFilter.Transaction_Instances.transaction_id"}, {"$ref": "#/parameters/rowFilter.Transaction_Instances.instance_id"}, {"$ref": "#/parameters/rowFilter.Transaction_Instances.quantity"}, {"$ref": "#/parameters/rowFilter.Transaction_Instances.recipent_id"}, {"$ref": "#/parameters/rowFilter.Transaction_Instances.sender_id"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}, "patch": {"tags": ["Transaction_Instances"], "summary": "Transaction Instances", "parameters": [{"$ref": "#/parameters/rowFilter.Transaction_Instances.transaction_id"}, {"$ref": "#/parameters/rowFilter.Transaction_Instances.instance_id"}, {"$ref": "#/parameters/rowFilter.Transaction_Instances.quantity"}, {"$ref": "#/parameters/rowFilter.Transaction_Instances.recipent_id"}, {"$ref": "#/parameters/rowFilter.Transaction_Instances.sender_id"}, {"$ref": "#/parameters/body.Transaction_Instances"}, {"$ref": "#/parameters/preferReturn"}], "responses": {"204": {"description": "No Content"}}}}, "/rpc/add_item": {"post": {"tags": ["(rpc) add_item"], "produces": ["application/json", "application/vnd.pgrst.object+json"], "parameters": [{"name": "args", "required": true, "in": "body", "schema": {"type": "object", "required": ["server_id", "user_ids", "instance_id", "quantity"], "properties": {"quantity": {"type": "number", "format": "real"}, "required_instance_id": {"type": "integer", "format": "integer"}, "user_ids": {"type": "string", "format": "bigint[]"}, "server_id": {"type": "integer", "format": "bigint"}, "instance_id": {"type": "integer", "format": "bigint"}, "required_quantity": {"type": "number", "format": "real"}}}}, {"$ref": "#/parameters/preferParams"}], "responses": {"200": {"description": "OK"}}}}}, "definitions": {"Character": {"description": "Basic information about Character", "required": ["id"], "properties": {"id": {"type": "integer", "format": "bigint", "description": "Autogenerated ID of Character\n\nNote:\nThis is a Primary Key.<pk/>"}}, "type": "object"}, "Character_Attribute": {"description": "Attributes associated with Character", "required": ["character_id", "name", "id"], "properties": {"character_id": {"type": "integer", "format": "bigint", "description": "Character's ID\n\nNote:\nThis is a Foreign Key to `Character.id`.<fk table='Character' column='id'/>"}, "name": {"type": "string", "maxLength": 50, "format": "character varying", "description": "Name of Character's Attribute\n\nNote:\nThis is a Primary Key.<pk/>"}, "value": {"type": "number", "format": "real", "description": "Value of Character's Attribute"}, "text": {"type": "string", "format": "text", "description": "Text of Attribute"}, "id": {"type": "integer", "format": "bigint", "description": "External ID of Attribute\n\nNote:\nThis is a Primary Key.<pk/>"}, "interval": {"type": "string", "format": "interval", "description": "Interval of Attribute"}, "timestamp": {"type": "string", "format": "timestamp with time zone", "description": "Timestamp with Timezone of Attribute"}, "bool": {"type": "boolean", "format": "boolean", "description": "Boolean of Attribute"}}, "type": "object"}, "Character_Inventory": {"description": "Character's Inventory", "required": ["character_id", "instance_id", "quantity"], "properties": {"character_id": {"type": "integer", "format": "bigint", "description": "Character's inventory\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `Character.id`.<fk table='Character' column='id'/>"}, "instance_id": {"type": "integer", "format": "bigint", "description": "Instance in this inventory\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `Instance.id`.<fk table='Instance' column='id'/>"}, "quantity": {"type": "number", "format": "real", "default": 1, "description": "Amount of instance in Character's inventory"}}, "type": "object"}, "Event": {"description": "Event metadata", "required": ["id", "name", "description", "start_date", "end_date"], "properties": {"id": {"type": "integer", "format": "integer", "description": "Autogenerated ID of this Event\n\nNote:\nThis is a Primary Key.<pk/>"}, "name": {"type": "string", "format": "text", "description": "Name of this Event"}, "description": {"type": "string", "format": "text", "description": "Description of this Event"}, "start_date": {"type": "string", "format": "timestamp with time zone", "description": "Timestamp of start of this Event"}, "end_date": {"type": "string", "format": "timestamp with time zone", "description": "Timestamp of end of this Event"}}, "type": "object"}, "Event_Attribute": {"description": "Attributes associated with Event", "required": ["event_id", "name"], "properties": {"event_id": {"type": "integer", "format": "integer", "description": "Event's ID\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `Event.id`.<fk table='Event' column='id'/>"}, "name": {"type": "string", "maxLength": 50, "format": "character varying", "description": "Name of Event's Attribute\n\nNote:\nThis is a Primary Key.<pk/>"}, "value": {"type": "number", "format": "real", "description": "Value of Event's Attribute"}, "text": {"type": "string", "format": "text", "description": "Text of Attribute"}, "id": {"type": "integer", "format": "bigint", "description": "External ID of Attribute"}, "interval": {"type": "string", "format": "interval", "description": "Interval of Attribute"}, "timestamp": {"type": "string", "format": "timestamp with time zone", "description": "Timestamp with Timezone of Attribute"}, "bool": {"type": "boolean", "format": "boolean", "description": "Boolean of Attribute"}}, "type": "object"}, "Instance": {"description": "Instance metadata", "required": ["id", "name", "item_id"], "properties": {"id": {"type": "integer", "format": "bigint", "description": "Autogenerated ID of this Instance\n\nNote:\nThis is a Primary Key.<pk/>"}, "name": {"type": "string", "maxLength": 50, "format": "character varying", "description": "Name of Instantiated Item"}, "item_id": {"type": "integer", "format": "integer", "description": "ID of Item this Instance is based on\n\nNote:\nThis is a Foreign Key to `Item.id`.<fk table='Item' column='id'/>"}, "location_id": {"type": "integer", "format": "integer", "description": "ID of Locatin this Instance is related to\n\nNote:\nThis is a Foreign Key to `Location.id`.<fk table='Location' column='id'/>"}, "event_id": {"type": "integer", "format": "integer", "description": "ID of Event this Instance is related to\n\nNote:\nThis is a Foreign Key to `Event.id`.<fk table='Event' column='id'/>"}}, "type": "object"}, "Instance_Attribute": {"description": "Attributes associated with Instance", "required": ["instance_id", "name"], "properties": {"instance_id": {"type": "integer", "format": "bigint", "description": "Instance's ID\n\nNote:\nThis is a Foreign Key to `Instance.id`.<fk table='Instance' column='id'/>"}, "name": {"type": "string", "maxLength": 50, "format": "character varying", "description": "Name of Instance's Attribute\n\nNote:\nThis is a Primary Key.<pk/>"}, "value": {"type": "number", "format": "real", "description": "Value of Instance's Attribute"}, "text": {"type": "string", "format": "text", "description": "Text of Attribute"}, "id": {"type": "integer", "format": "bigint", "description": "External ID of Attribute"}, "interval": {"type": "string", "format": "interval", "description": "Interval of Attribute"}, "timestamp": {"type": "string", "format": "timestamp with time zone", "description": "Timestamp with Timezone of Attribute"}, "bool": {"type": "boolean", "format": "boolean", "description": "Boolean of Attribute"}}, "type": "object"}, "Item": {"description": "Item metadata", "required": ["id", "name"], "properties": {"id": {"type": "integer", "format": "integer", "description": "Autogenerated ID for this Item\n\nNote:\nThis is a Primary Key.<pk/>"}, "name": {"type": "string", "maxLength": 50, "format": "character varying", "description": "Base name for this Item"}}, "type": "object"}, "Item_Attribute": {"description": "Attributes associated with Item", "required": ["item_id", "name"], "properties": {"item_id": {"type": "integer", "format": "integer", "description": "Item's ID\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `Item.id`.<fk table='Item' column='id'/>"}, "name": {"type": "string", "maxLength": 50, "format": "character varying", "description": "Name of Item's Attribute\n\nNote:\nThis is a Primary Key.<pk/>"}, "value": {"type": "number", "format": "real", "description": "Value of Item's Attribute"}, "text": {"type": "string", "format": "text", "description": "Text of Attribute"}, "id": {"type": "integer", "format": "bigint", "description": "External ID of Attribute"}, "interval": {"type": "string", "format": "interval", "description": "Interval of Attribute"}, "timestamp": {"type": "string", "format": "timestamp with time zone", "description": "Timestamp with Timezone of Attribute"}, "bool": {"type": "boolean", "format": "boolean", "description": "Boolean of Attribute"}}, "type": "object"}, "Location": {"description": "Location metadata", "required": ["id", "name", "description"], "properties": {"id": {"type": "integer", "format": "integer", "description": "Autogenerated ID of this Location\n\nNote:\nThis is a Primary Key.<pk/>"}, "name": {"type": "string", "format": "text", "description": "Name of this Location"}, "description": {"type": "string", "format": "text", "description": "Description of this Location"}}, "type": "object"}, "Location_Attribute": {"description": "Attributes associated with Location", "required": ["location_id", "name"], "properties": {"location_id": {"type": "integer", "format": "integer", "description": "Location's ID\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `Location.id`.<fk table='Location' column='id'/>"}, "name": {"type": "string", "maxLength": 50, "format": "character varying", "description": "Name of Location's Attribute\n\nNote:\nThis is a Primary Key.<pk/>"}, "value": {"type": "number", "format": "real", "description": "Value of Location's Attribute"}, "text": {"type": "string", "format": "text", "description": "Text of Attribute"}, "id": {"type": "integer", "format": "bigint", "description": "External ID of Attribute"}, "interval": {"type": "string", "format": "interval", "description": "Interval of Attribute"}, "timestamp": {"type": "string", "format": "timestamp with time zone", "description": "Timestamp with Timezone of Attribute"}, "bool": {"type": "boolean", "format": "boolean", "description": "Boolean of Attribute"}}, "type": "object"}, "Owner": {"description": "Owner association for Character", "required": ["character_id", "server_id", "user_id"], "properties": {"character_id": {"type": "integer", "format": "bigint", "description": "ID of Owned Character\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `Character.id`.<fk table='Character' column='id'/>"}, "server_id": {"type": "integer", "format": "bigint", "description": "ID of Associated Server"}, "user_id": {"type": "integer", "format": "bigint", "description": "ID of Owning User"}}, "type": "object"}, "Transaction": {"description": "Transaction metadata", "required": ["id", "timestamp"], "properties": {"id": {"type": "integer", "format": "bigint", "description": "Autogenerated ID of this Transaction\n\nNote:\nThis is a Primary Key.<pk/>"}, "timestamp": {"type": "string", "format": "timestamp with time zone", "default": "now()", "description": "When this transaction happened"}}, "type": "object"}, "Transaction_Instances": {"description": "Transaction Instances", "required": ["transaction_id", "instance_id", "quantity"], "properties": {"transaction_id": {"type": "integer", "format": "bigint", "description": "ID of transaction\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `Transaction.id`.<fk table='Transaction' column='id'/>"}, "instance_id": {"type": "integer", "format": "bigint", "description": "ID of an instance being transferred\n\nNote:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `Instance.id`.<fk table='Instance' column='id'/>"}, "quantity": {"type": "number", "format": "real", "default": 1, "description": "Amount being transferred"}, "recipent_id": {"type": "integer", "format": "bigint", "description": "ID of receiving Character\n\nNote:\nThis is a Foreign Key to `Character.id`.<fk table='Character' column='id'/>"}, "sender_id": {"type": "integer", "format": "bigint", "description": "ID of sending Character\n\nNote:\nThis is a Foreign Key to `Character.id`.<fk table='Character' column='id'/>"}}, "type": "object"}}, "parameters": {"preferParams": {"name": "Prefer", "description": "Preference", "required": false, "type": "string", "in": "header", "enum": ["params=single-object"]}, "preferReturn": {"name": "Prefer", "description": "Preference", "required": false, "type": "string", "in": "header", "enum": ["return=representation", "return=minimal", "return=none"]}, "preferCount": {"name": "Prefer", "description": "Preference", "required": false, "type": "string", "in": "header", "enum": ["count=none"]}, "select": {"name": "select", "description": "Filtering Columns", "required": false, "type": "string", "in": "query"}, "on_conflict": {"name": "on_conflict", "description": "On Conflict", "required": false, "type": "string", "in": "query"}, "order": {"name": "order", "description": "Ordering", "required": false, "type": "string", "in": "query"}, "range": {"name": "Range", "description": "Limiting and Pagination", "required": false, "type": "string", "in": "header"}, "rangeUnit": {"name": "Range-Unit", "description": "Limiting and Pagination", "required": false, "type": "string", "default": "items", "in": "header"}, "offset": {"name": "offset", "description": "Limiting and Pagination", "required": false, "type": "string", "in": "query"}, "limit": {"name": "limit", "description": "Limiting and Pagination", "required": false, "type": "string", "in": "query"}, "body.Character": {"name": "Character", "description": "Character", "required": false, "in": "body", "schema": {"$ref": "#/definitions/Character"}}, "rowFilter.Character.id": {"name": "id", "description": "Autogenerated ID of Character", "required": false, "type": "string", "format": "bigint", "in": "query"}, "body.Character_Attribute": {"name": "Character_Attribute", "description": "Character_Attribute", "required": false, "in": "body", "schema": {"$ref": "#/definitions/Character_Attribute"}}, "rowFilter.Character_Attribute.character_id": {"name": "character_id", "description": "Character's ID", "required": false, "type": "string", "format": "bigint", "in": "query"}, "rowFilter.Character_Attribute.name": {"name": "name", "description": "Name of Character's Attribute", "required": false, "type": "string", "format": "character varying", "in": "query"}, "rowFilter.Character_Attribute.value": {"name": "value", "description": "Value of Character's Attribute", "required": false, "type": "string", "format": "real", "in": "query"}, "rowFilter.Character_Attribute.text": {"name": "text", "description": "Text of Attribute", "required": false, "type": "string", "format": "text", "in": "query"}, "rowFilter.Character_Attribute.id": {"name": "id", "description": "External ID of Attribute", "required": false, "type": "string", "format": "bigint", "in": "query"}, "rowFilter.Character_Attribute.interval": {"name": "interval", "description": "Interval of Attribute", "required": false, "type": "string", "format": "interval", "in": "query"}, "rowFilter.Character_Attribute.timestamp": {"name": "timestamp", "description": "Timestamp with Timezone of Attribute", "required": false, "type": "string", "format": "timestamp with time zone", "in": "query"}, "rowFilter.Character_Attribute.bool": {"name": "bool", "description": "Boolean of Attribute", "required": false, "type": "string", "format": "boolean", "in": "query"}, "body.Character_Inventory": {"name": "Character_Inventory", "description": "Character_Inventory", "required": false, "in": "body", "schema": {"$ref": "#/definitions/Character_Inventory"}}, "rowFilter.Character_Inventory.character_id": {"name": "character_id", "description": "Character's inventory", "required": false, "type": "string", "format": "bigint", "in": "query"}, "rowFilter.Character_Inventory.instance_id": {"name": "instance_id", "description": "Instance in this inventory", "required": false, "type": "string", "format": "bigint", "in": "query"}, "rowFilter.Character_Inventory.quantity": {"name": "quantity", "description": "Amount of instance in Character's inventory", "required": false, "type": "string", "format": "real", "in": "query"}, "body.Event": {"name": "Event", "description": "Event", "required": false, "in": "body", "schema": {"$ref": "#/definitions/Event"}}, "rowFilter.Event.id": {"name": "id", "description": "Autogenerated ID of this Event", "required": false, "type": "string", "format": "integer", "in": "query"}, "rowFilter.Event.name": {"name": "name", "description": "Name of this Event", "required": false, "type": "string", "format": "text", "in": "query"}, "rowFilter.Event.description": {"name": "description", "description": "Description of this Event", "required": false, "type": "string", "format": "text", "in": "query"}, "rowFilter.Event.start_date": {"name": "start_date", "description": "Timestamp of start of this Event", "required": false, "type": "string", "format": "timestamp with time zone", "in": "query"}, "rowFilter.Event.end_date": {"name": "end_date", "description": "Timestamp of end of this Event", "required": false, "type": "string", "format": "timestamp with time zone", "in": "query"}, "body.Event_Attribute": {"name": "Event_Attribute", "description": "Event_Attribute", "required": false, "in": "body", "schema": {"$ref": "#/definitions/Event_Attribute"}}, "rowFilter.Event_Attribute.event_id": {"name": "event_id", "description": "Event's ID", "required": false, "type": "string", "format": "integer", "in": "query"}, "rowFilter.Event_Attribute.name": {"name": "name", "description": "Name of Event's Attribute", "required": false, "type": "string", "format": "character varying", "in": "query"}, "rowFilter.Event_Attribute.value": {"name": "value", "description": "Value of Event's Attribute", "required": false, "type": "string", "format": "real", "in": "query"}, "rowFilter.Event_Attribute.text": {"name": "text", "description": "Text of Attribute", "required": false, "type": "string", "format": "text", "in": "query"}, "rowFilter.Event_Attribute.id": {"name": "id", "description": "External ID of Attribute", "required": false, "type": "string", "format": "bigint", "in": "query"}, "rowFilter.Event_Attribute.interval": {"name": "interval", "description": "Interval of Attribute", "required": false, "type": "string", "format": "interval", "in": "query"}, "rowFilter.Event_Attribute.timestamp": {"name": "timestamp", "description": "Timestamp with Timezone of Attribute", "required": false, "type": "string", "format": "timestamp with time zone", "in": "query"}, "rowFilter.Event_Attribute.bool": {"name": "bool", "description": "Boolean of Attribute", "required": false, "type": "string", "format": "boolean", "in": "query"}, "body.Instance": {"name": "Instance", "description": "Instance", "required": false, "in": "body", "schema": {"$ref": "#/definitions/Instance"}}, "rowFilter.Instance.id": {"name": "id", "description": "Autogenerated ID of this Instance", "required": false, "type": "string", "format": "bigint", "in": "query"}, "rowFilter.Instance.name": {"name": "name", "description": "Name of Instantiated Item", "required": false, "type": "string", "format": "character varying", "in": "query"}, "rowFilter.Instance.item_id": {"name": "item_id", "description": "ID of Item this Instance is based on", "required": false, "type": "string", "format": "integer", "in": "query"}, "rowFilter.Instance.location_id": {"name": "location_id", "description": "ID of Locatin this Instance is related to", "required": false, "type": "string", "format": "integer", "in": "query"}, "rowFilter.Instance.event_id": {"name": "event_id", "description": "ID of Event this Instance is related to", "required": false, "type": "string", "format": "integer", "in": "query"}, "body.Instance_Attribute": {"name": "Instance_Attribute", "description": "Instance_Attribute", "required": false, "in": "body", "schema": {"$ref": "#/definitions/Instance_Attribute"}}, "rowFilter.Instance_Attribute.instance_id": {"name": "instance_id", "description": "Instance's ID", "required": false, "type": "string", "format": "bigint", "in": "query"}, "rowFilter.Instance_Attribute.name": {"name": "name", "description": "Name of Instance's Attribute", "required": false, "type": "string", "format": "character varying", "in": "query"}, "rowFilter.Instance_Attribute.value": {"name": "value", "description": "Value of Instance's Attribute", "required": false, "type": "string", "format": "real", "in": "query"}, "rowFilter.Instance_Attribute.text": {"name": "text", "description": "Text of Attribute", "required": false, "type": "string", "format": "text", "in": "query"}, "rowFilter.Instance_Attribute.id": {"name": "id", "description": "External ID of Attribute", "required": false, "type": "string", "format": "bigint", "in": "query"}, "rowFilter.Instance_Attribute.interval": {"name": "interval", "description": "Interval of Attribute", "required": false, "type": "string", "format": "interval", "in": "query"}, "rowFilter.Instance_Attribute.timestamp": {"name": "timestamp", "description": "Timestamp with Timezone of Attribute", "required": false, "type": "string", "format": "timestamp with time zone", "in": "query"}, "rowFilter.Instance_Attribute.bool": {"name": "bool", "description": "Boolean of Attribute", "required": false, "type": "string", "format": "boolean", "in": "query"}, "body.Item": {"name": "Item", "description": "Item", "required": false, "in": "body", "schema": {"$ref": "#/definitions/Item"}}, "rowFilter.Item.id": {"name": "id", "description": "Autogenerated ID for this Item", "required": false, "type": "string", "format": "integer", "in": "query"}, "rowFilter.Item.name": {"name": "name", "description": "Base name for this Item", "required": false, "type": "string", "format": "character varying", "in": "query"}, "body.Item_Attribute": {"name": "Item_Attribute", "description": "Item_Attribute", "required": false, "in": "body", "schema": {"$ref": "#/definitions/Item_Attribute"}}, "rowFilter.Item_Attribute.item_id": {"name": "item_id", "description": "Item's ID", "required": false, "type": "string", "format": "integer", "in": "query"}, "rowFilter.Item_Attribute.name": {"name": "name", "description": "Name of Item's Attribute", "required": false, "type": "string", "format": "character varying", "in": "query"}, "rowFilter.Item_Attribute.value": {"name": "value", "description": "Value of Item's Attribute", "required": false, "type": "string", "format": "real", "in": "query"}, "rowFilter.Item_Attribute.text": {"name": "text", "description": "Text of Attribute", "required": false, "type": "string", "format": "text", "in": "query"}, "rowFilter.Item_Attribute.id": {"name": "id", "description": "External ID of Attribute", "required": false, "type": "string", "format": "bigint", "in": "query"}, "rowFilter.Item_Attribute.interval": {"name": "interval", "description": "Interval of Attribute", "required": false, "type": "string", "format": "interval", "in": "query"}, "rowFilter.Item_Attribute.timestamp": {"name": "timestamp", "description": "Timestamp with Timezone of Attribute", "required": false, "type": "string", "format": "timestamp with time zone", "in": "query"}, "rowFilter.Item_Attribute.bool": {"name": "bool", "description": "Boolean of Attribute", "required": false, "type": "string", "format": "boolean", "in": "query"}, "body.Location": {"name": "Location", "description": "Location", "required": false, "in": "body", "schema": {"$ref": "#/definitions/Location"}}, "rowFilter.Location.id": {"name": "id", "description": "Autogenerated ID of this Location", "required": false, "type": "string", "format": "integer", "in": "query"}, "rowFilter.Location.name": {"name": "name", "description": "Name of this Location", "required": false, "type": "string", "format": "text", "in": "query"}, "rowFilter.Location.description": {"name": "description", "description": "Description of this Location", "required": false, "type": "string", "format": "text", "in": "query"}, "body.Location_Attribute": {"name": "Location_Attribute", "description": "Location_Attribute", "required": false, "in": "body", "schema": {"$ref": "#/definitions/Location_Attribute"}}, "rowFilter.Location_Attribute.location_id": {"name": "location_id", "description": "Location's ID", "required": false, "type": "string", "format": "integer", "in": "query"}, "rowFilter.Location_Attribute.name": {"name": "name", "description": "Name of Location's Attribute", "required": false, "type": "string", "format": "character varying", "in": "query"}, "rowFilter.Location_Attribute.value": {"name": "value", "description": "Value of Location's Attribute", "required": false, "type": "string", "format": "real", "in": "query"}, "rowFilter.Location_Attribute.text": {"name": "text", "description": "Text of Attribute", "required": false, "type": "string", "format": "text", "in": "query"}, "rowFilter.Location_Attribute.id": {"name": "id", "description": "External ID of Attribute", "required": false, "type": "string", "format": "bigint", "in": "query"}, "rowFilter.Location_Attribute.interval": {"name": "interval", "description": "Interval of Attribute", "required": false, "type": "string", "format": "interval", "in": "query"}, "rowFilter.Location_Attribute.timestamp": {"name": "timestamp", "description": "Timestamp with Timezone of Attribute", "required": false, "type": "string", "format": "timestamp with time zone", "in": "query"}, "rowFilter.Location_Attribute.bool": {"name": "bool", "description": "Boolean of Attribute", "required": false, "type": "string", "format": "boolean", "in": "query"}, "body.Owner": {"name": "Owner", "description": "Owner", "required": false, "in": "body", "schema": {"$ref": "#/definitions/Owner"}}, "rowFilter.Owner.character_id": {"name": "character_id", "description": "ID of Owned Character", "required": false, "type": "string", "format": "bigint", "in": "query"}, "rowFilter.Owner.server_id": {"name": "server_id", "description": "ID of Associated Server", "required": false, "type": "string", "format": "bigint", "in": "query"}, "rowFilter.Owner.user_id": {"name": "user_id", "description": "ID of Owning User", "required": false, "type": "string", "format": "bigint", "in": "query"}, "body.Transaction": {"name": "Transaction", "description": "Transaction", "required": false, "in": "body", "schema": {"$ref": "#/definitions/Transaction"}}, "rowFilter.Transaction.id": {"name": "id", "description": "Autogenerated ID of this Transaction", "required": false, "type": "string", "format": "bigint", "in": "query"}, "rowFilter.Transaction.timestamp": {"name": "timestamp", "description": "When this transaction happened", "required": false, "type": "string", "format": "timestamp with time zone", "in": "query"}, "body.Transaction_Instances": {"name": "Transaction_Instances", "description": "Transaction_Instances", "required": false, "in": "body", "schema": {"$ref": "#/definitions/Transaction_Instances"}}, "rowFilter.Transaction_Instances.transaction_id": {"name": "transaction_id", "description": "ID of transaction", "required": false, "type": "string", "format": "bigint", "in": "query"}, "rowFilter.Transaction_Instances.instance_id": {"name": "instance_id", "description": "ID of an instance being transferred", "required": false, "type": "string", "format": "bigint", "in": "query"}, "rowFilter.Transaction_Instances.quantity": {"name": "quantity", "description": "Amount being transferred", "required": false, "type": "string", "format": "real", "in": "query"}, "rowFilter.Transaction_Instances.recipent_id": {"name": "recipent_id", "description": "ID of receiving Character", "required": false, "type": "string", "format": "bigint", "in": "query"}, "rowFilter.Transaction_Instances.sender_id": {"name": "sender_id", "description": "ID of sending Character", "required": false, "type": "string", "format": "bigint", "in": "query"}}, "externalDocs": {"url": "https://postgrest.org/en/latest/api.html", "description": "PostgREST Documentation"}}