This repository contains sample code from the CLOSER/Colectica API training.
This is a simple access that shows how to access the Colectica Repository REST API from C# code. The basic steps are:
- Auto-generate a client for the REST API. This happens in the
closerapi.csproj
:
<OpenApiReference Include="swagger.json" SourceUrl="https://closer.sandbox.colectica.org/swagger/v1/swagger.json" />
- Request an API token, and set that token on an HTTP client for use in future calls.
- Make the calls.
This example shows how to the Colectica REST API using the Colectica SDK.