schema-sidecar
Theme
Text size
GitHub Menu

Enumeration in Linked Open Knowledge Format (LOKF)

HttpMethod

The IANA HTTP request method registry, restricted to the methods a LOKF Service is realistically documented as being invoked with. Permissible value names are uppercase (unlike this schema's other enums) because the method name is a case-sensitive wire token, not an authoring convenience label.

URI: lokf:enum/HttpMethod

Permissible Values#

ValueMeaningDescription
GETNoneRetrieve a representation of the resource
POSTNoneSubmit data to be processed, often creating a resource
PUTNoneReplace the resource with the supplied representation
PATCHNoneApply a partial modification to the resource
DELETENoneRemove the resource
HEADNoneLike GET, but returns headers only, no body
OPTIONSNoneDescribe the communication options for the resource

Slots#

NameDescription
http_methodThe HTTP method used to invoke the service, if applicable

Identifier and Mapping Information#

Schema Source#

LinkML Source#

YAML
name: HttpMethod
description: The IANA HTTP request method registry, restricted to the methods a LOKF
  Service is realistically documented as being invoked with. Permissible value names
  are uppercase (unlike this schema's other enums) because the method name is a case-sensitive
  wire token, not an authoring convenience label.
from_schema: https://w3id.org/lokf/schema
rank: 1000
permissible_values:
  GET:
    text: GET
    description: Retrieve a representation of the resource.
  POST:
    text: POST
    description: Submit data to be processed, often creating a resource.
  PUT:
    text: PUT
    description: Replace the resource with the supplied representation.
  PATCH:
    text: PATCH
    description: Apply a partial modification to the resource.
  DELETE:
    text: DELETE
    description: Remove the resource.
  HEAD:
    text: HEAD
    description: Like GET, but returns headers only, no body.
  OPTIONS:
    text: OPTIONS
    description: Describe the communication options for the resource.