APIToGoAPIToGo
Sample Dotnet Backend
  • API Reference
  • Pricing
Information
Meta
    API welcome messageget
Health
    Health check (deploy probe)get
Items
    List itemsgetCreate itempostGet item by idgetReplace itemputDelete itemdeletePartially update itempatch
Echo
    Echo JSON bodypostEcho form-urlencoded bodypostEcho multipart form (optional file)post
Utilities
    Basic arithmeticpostSearch items by textgetReflect request headersget
Test
    Plain text responsegetReturn arbitrary HTTP statusget
Schemas
powered by apitogo
sample-dotnet-backend
sample-dotnet-backend

Schemas


RootResponse

message
​string
docs
​string

SimpleError

error
​string

NotFoundError

error
​string
id
​string · uuid

ValidationProblemDetails

RFC 7807 validation problem (ASP.NET Core)
type
​string
title
​string
status
​integer
​object

CalculateError

error
​string
supported
​string[]

ItemDto

id
​string · uuid · required
name
​string · required
price
​number · decimal · required
createdAt
​string · date-time · required
description
​string | null
category
​string | null
updatedAt
​string | null · date-time

CreateItemRequest

name
​string · minLength: 1 · maxLength: 200 · required
price
​number · decimal · min: 0 · max: 1000000 · required
description
​string | null · maxLength: 2000
category
​string | null · maxLength: 100

UpdateItemRequest

name
​string · minLength: 1 · maxLength: 200 · required
price
​number · decimal · min: 0 · max: 1000000 · required
description
​string | null · maxLength: 2000
category
​string | null · maxLength: 100

PatchItemRequest

name
​string | null · minLength: 1 · maxLength: 200
description
​string | null · maxLength: 2000
category
​string | null · maxLength: 100
price
​number | null · decimal · min: 0 · max: 1000000

ItemListResponse

count
​integer
​object[]

EchoJsonRequest

message
​string · minLength: 1 · required
​object | null
repeat
​boolean
Default: false

EchoJsonResponse

message
​string
length
​integer
​object | null
receivedAt
​string · date-time

EchoJsonWrappedResponse

​object
contentType
​string | null

EchoFormRequest

name
​string · required
email
​string | null
notes
​string | null

EchoFormResponse

name
​string
email
​string | null
notes
​string | null
contentType
​string
receivedAt
​string · date-time

EchoMultipartResponse

name
​string
notes
​string | null
fileName
​string | null
fileContentType
​string | null
fileSizeBytes
​integer | null · int64
receivedAt
​string · date-time

CalculateRequest

operation
​string · required

add, subtract, multiply, divide (or +, -, *, /)

Example: add
a
​number · double
b
​number · double

CalculateResponse

operation
​string
a
​number · double
b
​number · double
result
​number · double

SearchResponse

query
​string
limit
​integer
offset
​integer
total
​integer
​object[]

HeadersResponse

method
​string
path
​string | null
query
​string | null
​object
On this page
  • RootResponse
  • SimpleError
  • NotFoundError
  • ValidationProblemDetails
  • CalculateError
  • ItemDto
  • CreateItemRequest
  • UpdateItemRequest
  • PatchItemRequest
  • ItemListResponse
  • EchoJsonRequest
  • EchoJsonResponse
  • EchoJsonWrappedResponse
  • EchoFormRequest
  • EchoFormResponse
  • EchoMultipartResponse
  • CalculateRequest
  • CalculateResponse
  • SearchResponse
  • HeadersResponse