Operation
An operation is an action or computation performed on or by a system, object, or service that may produce a result or change state.
The Design of Web APIs, Second Edition
An OpenAPI operation object is the specification object that describes a single API operation and its metadata, including optional tags.
- How it is used
- Describes a consumer-facing HTTP capability under its resource path in an OpenAPI document.
- How deep it goes
- Shows method keys and summaries, then points toward describing inputs and responses; does not detail their OpenAPI structures here.
- Examples
- Uses product-search and catalog operations, including `GET /products` and `POST /products`.
- What you can do after
- Apply it via OpenAPI to name operations beneath resource paths and describe their HTTP inputs and responses.
Read how The Design of Web APIs, Second Edition explains operation →
Get Programming: Learn to code with Python
An operation is an action that can be performed by or with a Python object.
- How it is used
- Uses operations to describe what objects can do, from arithmetic on variables to behaviors defined for new object types.
- How deep it goes
- Defines operations as type-specific actions, works through arithmetic and dot notation, and introduces defining operations for classes.
- Examples
- Uses addition, string replacement, list appending and a table of arithmetic result types.
- What you can do after
- Build it from scratch by defining operations for a Python class, then create objects of that type and use them.
Read how Get Programming: Learn to code with Python explains operation →
Data-Oriented Programming in Java
An operation is a rule that combines or transforms values from a specified set to produce a value.
- How it is used
- Frames domain behavior as deterministic value transformations and represents business-rule logic as manipulable data.
- How deep it goes
- Derives equational reasoning and a sealed rule algebra, but stops short of explaining operation evaluation.
- Examples
- Uses record merging, equality checks, enum-backed attributes, and composed AND, OR, and NOT rules.
- What you can do after
- Build it from scratch as explicit data, compose it fluently, and reason about its meaning independently of implementation.
Read how Data-Oriented Programming in Java explains operation →
Also covered in
- API Design Patterns
- Unit Testing Principles, Practices, and Patterns
- Rust in Action: Systems programming concepts and techniques
- Kafka for Architects
- Machines that ThinkIn early access (MEAP)
- Microservices Patterns, Second EditionIn early access (MEAP)
- Modern C, Third Edition
What to know first
- actionAn action is a choice or operation selected or performed by an actor that can affect a system, environment, or process.
- HTTP GETHTTP GET is a safe, idempotent HTTP method that requests a representation of a resource without intending to change its state.
- HTTP methodAn HTTP method is a standardized token in an HTTP request that indicates the operation the client intends to perform on a resource.
- JSONJSON is a language-independent text-based data-interchange format that represents structured values using objects, arrays, strings, numbers, booleans, and null.
Related concepts
- atomic operationincludes · An atomic operation performs a read-modify-write or similar memory update as an indivisible action with respect to other threads.
Questions about operation
What is operation?
An operation is an action or computation performed on or by a system, object, or service that may produce a result or change state.
Which Manning books explain operation?
The Design of Web APIs, Second Edition, Get Programming: Learn to code with Python and Data-Oriented Programming in Java.
What should I know before learning operation?
Manning books that teach operation usually introduce action, HTTP GET, HTTP method and JSON first.
What kinds of operation are there?
Kinds of operation include atomic operation, cancelable operation, chat operation, close operation and cluster operation.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.


