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#
| Value | Meaning | Description |
|---|---|---|
| GET | None | Retrieve a representation of the resource |
| POST | None | Submit data to be processed, often creating a resource |
| PUT | None | Replace the resource with the supplied representation |
| PATCH | None | Apply a partial modification to the resource |
| DELETE | None | Remove the resource |
| HEAD | None | Like GET, but returns headers only, no body |
| OPTIONS | None | Describe the communication options for the resource |
Slots#
| Name | Description |
|---|---|
| http_method | The HTTP method used to invoke the service, if applicable |
Identifier and Mapping Information#
Schema Source#
- from schema: https://w3id.org/lokf/schema
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.