Working with APIs in Martini
This section covers the essential aspects of working with APIs in Martini, focusing on both consuming and creating APIs. The tutorials provided here will help you understand how to effectively integrate various API types and implement your API solutions.
Topics Covered
-
Consuming APIs: Learn how to integrate and consume different types of APIs, including REST, GraphQL, SOAP, AsyncAPI, and webhooks. This section covers essential configurations, authentication methods, and service generation for each API type.
- Consuming REST APIs: Discover how to consume RESTful services, including necessary configurations and service generation techniques.
- Consuming GraphQL APIs: Explore how to interact with GraphQL services, focusing on configuration and service generation.
- Consuming Webhooks: Understand the process of consuming webhooks and handling their configurations and service generation.
- Consuming SOAP Services: Learn to integrate with SOAP services, covering configurations and service generation.
- Consuming AsyncAPI: Get insights into consuming AsyncAPI services and how to manage their configurations and service generation.
-
Creating APIs: This section guides you through the process of designing and implementing APIs on the Martini platform. It includes best practices and methodologies for API creation.
- Creating REST APIs: Follow detailed steps for creating REST APIs, including path settings, HTTP methods, parameter handling, and more.
- Creating GraphQL APIs: Explore how to create GraphQL APIs, including defining schemas, queries, and mutations.
- Making API Discoverable: Learn how to document your APIs effectively, making them discoverable through API documentation tools, API Explorer, and OpenAPI schemas.
- Publishing APIs: Guidance on publishing APIs for use in the platform and external consumers.
-
Authentication & Authorization: Authentication and authorization options for APIs on Martini.
- Martini User Directory: Using Martini's built-in user directory for API access control.
- Lonti Identity Provider: Integration with Lonti Identity Provider for authentication and SSO.
-
Using the HTTP Client: Understand how to use Martini's HTTP client. This section covers request creation, importing/exporting, and session management.
- Creating Requests: Get details on how to create and manage requests using the HTTP client.
- HTTP Request Editor: Configure requests, inspect responses, and write tests.
- Managing Variables: Define and reuse variables across requests.
- Cookie Manager: Learn to manage cookies in your requests for improved session handling.
- Postman Import/Export: Importing requests from Postman and working with collections.
- Exporting a Service: Exporting a service or request definition from the HTTP client.