T2.1 API Design and Specification [M5-M9]
The API should provide access to all the resources of FishBase KB.
This phase includes the definition of the primary endpoints and methods that the API will encompass.
They will serve as the backbone of the API, facilitating seamless interaction with the vast array of data and information in the KB.
Additionally, a detailed specification will be drafted using OpenAPI specification.
T2.2 Implementation of the API [M10-M18]
The API will be implemented using GraphQL providing developers great flexibility and control over data fetching and manipulation.
By adopting GraphQL, developers will enjoy a sophisticated framework that allows for precise specification of data requirements,
enabling them to request only the specific data elements needed for their applications. This approach contrasts with traditional
REST APIs, providing a more efficient and tailored data retrieval process. Activities will begin with the design and creation of a
GraphQL schema defining the types of data available and the relationships between them.
Then the API will be equipped with appropriate resolvers, acting as the middleware responsible for fetching the requested data.
Finally, a set of queries will be implemented to enable developers to interact seamlessly with the API.
|