1.2 KiB
1.2 KiB
Flexport
Flexport is a straightforward CRUD REST API. It consists of some REST resources like Company, Location, Product, etc., each of which is uniformly paginated. Each resource has a link to a related resource or resource collection. All relations might be optionally embedded within the resource instance. The id property identifies each resource.
API documentation is either outdated or incomplete. The issues are following:
- Some resources that get embedded by default are not documented at all. However, since the schema of all resources follows the same pattern, their schema can be easily deduced too.
- The documentation doesn't specify which properties are nullable - trial and error is the only way to learn that.
- Some properties' type is ambiguous, i.e.,
createaction specifies a property as required whilereadreturns a nullable value. - The type of some properties is mislabeled, e.g.,
integerinstead of an actualstringtype.
Authentication uses a pre-created API token which can be created in the UI.
Paginations uses page number and items per page strategy.