Gridly API documentation
This C# SDK is automatically generated by the OpenAPI Generator project:
- API version: 6.13.0
- SDK version: 1.5.1
- Generator version: 7.14.0
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen For more information, please visit https://www.gridly.com
- RestSharp - 112.0.0 or later
- Json.NET - 13.0.2 or later
- JsonSubTypes - 1.8.0 or later
- System.ComponentModel.Annotations - 5.0.0 or later
The DLLs included in the package may not be the latest version. We recommend using NuGet to obtain the latest version of the packages:
Install-Package RestSharp
Install-Package Newtonsoft.Json
Install-Package JsonSubTypes
Install-Package System.ComponentModel.Annotations
NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See RestSharp#742. NOTE: RestSharp for .Net Core creates a new socket for each api call, which can lead to a socket exhaustion problem. See RestSharp#1406.
Run the following command to generate the DLL
- [Mac/Linux]
/bin/sh build.sh - [Windows]
build.bat
Then include the DLL (under the bin folder) in the C# project, and use the namespaces:
using Com.Gridly.Api;
using Com.Gridly.Client;
using Com.Gridly.Model;A .nuspec is included with the project. You can follow the Nuget quickstart to create and publish packages.
This .nuspec uses placeholders from the .csproj, so build the .csproj directly:
nuget pack -Build -OutputDirectory out Com.Gridly.csproj
Then, publish to a local feed or other host and consume the new package via Nuget as usual.
To use the API client with a HTTP proxy, setup a System.Net.WebProxy
Configuration c = new Configuration();
System.Net.WebProxy webProxy = new System.Net.WebProxy("http://myProxyUrl:80/");
webProxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
c.Proxy = webProxy;using System.Collections.Generic;
using System.Diagnostics;
using Com.Gridly.Api;
using Com.Gridly.Client;
using Com.Gridly.Model;
namespace Example
{
public class Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.gridly.com";
// Configure API key authorization: ApiKey
config.ApiKey.Add("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.ApiKeyPrefix.Add("Authorization", "Bearer");
var apiInstance = new AutomationApi(config);
var bulkExecutionTriggerRequest = new BulkExecutionTriggerRequest(); // BulkExecutionTriggerRequest |
try
{
List<ExecutionResponse> result = apiInstance.BulkTrigger(bulkExecutionTriggerRequest);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AutomationApi.BulkTrigger: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}All URIs are relative to https://api.gridly.com
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AutomationApi | BulkTrigger | POST /v1/automations/trigger | |
| AutomationApi | Get | GET /v1/automations/{automationId} | |
| AutomationApi | GetExecution | GET /v1/automations/{automationId}/executions/{executionId} | |
| AutomationApi | GetExecutions | GET /v1/automations/{automationId}/executions | |
| AutomationApi | List | GET /v1/automations | |
| AutomationApi | Trigger | POST /v1/automations/{automationId}/trigger | |
| BranchApi | Create | POST /v1/branches | create |
| BranchApi | CreateDiffCheck | POST /v1/branches/diffcheck | createDiffCheck |
| BranchApi | Delete | DELETE /v1/branches/{branchId} | delete |
| BranchApi | Get | GET /v1/branches/{branchId} | get |
| BranchApi | GetDiffCheck | GET /v1/branches/diffcheck/{taskId} | getDiffCheck |
| BranchApi | List | GET /v1/branches | list |
| BranchApi | Merge | POST /v1/branches/{branchId}/merge | merge |
| CdnApi | List | GET /v1/cdns | list |
| CdnApi | Publish | PUT /v1/cdns/{cdnId}/publish | publish |
| CdnApi | UnPublish | PUT /v1/cdns/{cdnId}/unpublish | unPublish |
| DatabaseApi | Create | POST /v1/databases | create |
| DatabaseApi | Delete | DELETE /v1/databases/{dbId} | delete |
| DatabaseApi | Duplicate | POST /v1/databases/{dbId}/duplicate | duplicate |
| DatabaseApi | Get | GET /v1/databases/{dbId} | get |
| DatabaseApi | List | GET /v1/databases | list |
| DatabaseApi | Update | PUT /v1/databases/{dbId} | update |
| GlossaryApi | Create | POST /v1/glossaries | Create a new glossary |
| GlossaryApi | Delete | DELETE /v1/glossaries/{id} | Delete a glossary |
| GlossaryApi | ExportFile | GET /v1/glossaries/{id}/export | Export a glossary |
| GlossaryApi | Get | GET /v1/glossaries/{id} | Get glossary info |
| GlossaryApi | GetAll | GET /v1/glossaries | List all glossaries |
| GlossaryApi | ImportFile | POST /v1/glossaries/{id}/import | Import a glossary from file |
| GlossaryApi | Update | PUT /v1/glossaries/{id} | Update glossary info |
| GridApi | Create | POST /v1/grids | create |
| GridApi | CreateCategory | POST /v1/grids/{gridId}/settings/categories | createCategory |
| GridApi | Delete | DELETE /v1/grids/{gridId} | delete |
| GridApi | DeleteCategory | DELETE /v1/grids/{gridId}/settings/categories/{categoryId} | deleteCategory |
| GridApi | DeleteFile | DELETE /v1/grids/{gridId}/settings/categories/{categoryId}/files/{fileId} | deleteFile |
| GridApi | Get | GET /v1/grids/{gridId} | get |
| GridApi | GetSetting | GET /v1/grids/{gridId}/settings | getSetting |
| GridApi | List | GET /v1/grids | list |
| GridApi | ListFiles | GET /v1/grids/{gridId}/settings/files | listFiles |
| GridApi | ListTemplateGrids | GET /v1/template-grids | listTemplateGrids |
| GridApi | Update | PATCH /v1/grids/{gridId} | update |
| GridApi | UpdateCategory | PUT /v1/grids/{gridId}/settings/categories/{categoryId} | updateCategory |
| GridApi | UpdateSetting | PATCH /v1/grids/{gridId}/settings | updateSetting |
| GridApi | UploadSettingFile | POST /v1/grids/{gridId}/settings/categories/{categoryId}/files | uploadSettingFile |
| LocaleApi | Create | GET /v1/locales/all | create |
| LqaModelApi | GetLQAModel | GET /v1/lqa-models | Get default lqa model |
| PathApi | Create | POST /v1/views/{viewId}/paths | create |
| PathApi | Delete | DELETE /v1/views/{viewId}/paths | delete |
| PathApi | List | GET /v1/views/{viewId}/paths/tree | list |
| PathApi | Move | POST /v1/views/{viewId}/paths/move | move |
| PathApi | Update | PUT /v1/views/{viewId}/paths/{path} | update |
| PathApi | UpdatePathNode | PUT /v1/views/{viewId}/paths | updatePathNode |
| ProjectApi | Create | POST /v1/projects | create |
| ProjectApi | Delete | DELETE /v1/projects/{projectId} | delete |
| ProjectApi | FindOne | GET /v1/projects/{projectId} | findOne |
| ProjectApi | List | GET /v1/projects | list |
| ProjectApi | Update | PUT /v1/projects/{projectId} | update |
| RecordApi | Create | POST /v1/views/{viewId}/records | create |
| RecordApi | Delete | DELETE /v1/views/{viewId}/records | delete |
| RecordApi | DownloadRecordHistories | GET /v1/views/{viewId}/record-histories/export/{taskId} | downloadRecordHistories |
| RecordApi | ExportRecordHistories | POST /v1/views/{viewId}/record-histories/export | exportRecordHistories |
| RecordApi | Fetch | GET /v1/views/{viewId}/records | fetch |
| RecordApi | FetchHistories | GET /v1/views/{viewId}/records/{recordId}/histories | fetchHistories |
| RecordApi | Update | PATCH /v1/views/{viewId}/records | update |
| RecordApi | UpdateRecord | PATCH /v1/views/{viewId}/records/{id} | updateRecord |
| ShareViewApi | Create | PUT /v1/views/{viewId}/shares | create |
| ShareViewApi | Delete | DELETE /v1/views/{viewId}/shares | delete |
| ShareViewApi | Get | GET /v1/views/{viewId}/shares | get |
| TaskApi | Get | GET /v1/tasks/{taskId} | get |
| TransmemApi | Cleanup | PUT /v1/transmems/{tmId}/cleanup | Erases all the translation data of the provided tmId |
| TransmemApi | Create | POST /v1/transmems | Create a new translation memory |
| TransmemApi | CreateWithFile | POST /v1/transmems/upload | Create a new translation memory by uploading tmx file |
| TransmemApi | Delete | DELETE /v1/transmems/{tmId} | Delete a translation memory by id |
| TransmemApi | Export | GET /v1/transmems/{tmId}/export | Export translation memory tmx file |
| TransmemApi | Get | GET /v1/transmems/{tmId} | Get translation memory info by id |
| TransmemApi | ImportTmx | POST /v1/transmems/{tmId}/import | Import a translation memory from tmx file |
| TransmemApi | ListTM | GET /v1/transmems | List all available translation memories or create default one if there is no translation memory |
| TransmemApi | Update | PUT /v1/transmems/{tmId} | Update a translation memory |
| ViewApi | Create | POST /v1/views | create |
| ViewApi | Delete | DELETE /v1/views/{viewId} | delete |
| ViewApi | Export | GET /v1/views/{viewId}/export | export |
| ViewApi | Get | GET /v1/views/{viewId} | get |
| ViewApi | GetStatistic | GET /v1/views/{viewId}/statistic | getStatistic |
| ViewApi | ImportView | POST /v1/views/{viewId}/import | importView |
| ViewApi | List | GET /v1/views | list |
| ViewApi | Merge | POST /v1/views/{viewId}/merge | merge |
| ViewColumnApi | Add | POST /v1/views/{viewId}/columns/{columnId}/add | add |
| ViewColumnApi | BulkCreate | POST /v1/views/{viewId}/columns/bulk | bulkCreate |
| ViewColumnApi | Create | POST /v1/views/{viewId}/columns | create |
| ViewColumnApi | Delete | DELETE /v1/views/{viewId}/columns/{columnId} | delete |
| ViewColumnApi | Get | GET /v1/views/{viewId}/columns/{columnId} | get |
| ViewColumnApi | Remove | POST /v1/views/{viewId}/columns/{columnId}/remove | remove |
| ViewColumnApi | Update | PATCH /v1/views/{viewId}/columns/{columnId} | update |
| ViewDependencyApi | Create | POST /v1/views/{viewId}/dependencies | create |
| ViewDependencyApi | Delete | DELETE /v1/views/{viewId}/dependencies | delete |
| ViewDependencyApi | DeleteById | DELETE /v1/views/{viewId}/dependencies/{dependencyId} | deleteById |
| ViewDependencyApi | Get | GET /v1/views/{viewId}/dependencies/{dependencyId} | get |
| ViewDependencyApi | List | GET /v1/views/{viewId}/dependencies | list |
| ViewDependencyApi | Update | PUT /v1/views/{viewId}/dependencies/{dependencyId} | update |
| ViewFileApi | Delete | DELETE /v1/views/{viewId}/files | delete |
| ViewFileApi | Download | GET /v1/views/{viewId}/files/{fileId} | download |
| ViewFileApi | Upload | POST /v1/views/{viewId}/files | upload |
| ViewFileApi | UploadZip | POST /v1/views/{viewId}/files/zip | uploadZip |
- Model.AddViewColumn
- Model.Automation
- Model.AutomationNode
- Model.AutomationTrigger
- Model.Branch
- Model.BranchDiffCell
- Model.BranchDiffRecord
- Model.BulkExecutionTriggerRequest
- Model.CDN
- Model.Cell
- Model.CellHistory
- Model.ColumnReference
- Model.ColumnStatistic
- Model.CreateBranch
- Model.CreateColumn
- Model.CreateDatabase
- Model.CreateDependency
- Model.CreateFileCategory
- Model.CreateGlossary
- Model.CreateGrid
- Model.CreatePath
- Model.CreateProject
- Model.CreateShareView
- Model.CreateTransMem
- Model.CreateView
- Model.Database
- Model.DateTimeFormat
- Model.DeleteDependency
- Model.DeleteFile
- Model.DeletePath
- Model.DeleteRecord
- Model.Dependency
- Model.ExecutionResponse
- Model.ExecutionTriggerRequest
- Model.ExportFileHeader
- Model.ExportGlossaryFormat
- Model.ExportRecordHistory
- Model.ExportTransMemFormat
- Model.FetchFileOption
- Model.FetchRecordHistoryRequest
- Model.FileCategory
- Model.FileInfoResponse
- Model.FileType
- Model.FilterField
- Model.Formula
- Model.Glossary
- Model.GlossaryProject
- Model.Grid
- Model.GridSetting
- Model.Group
- Model.ImportGlossaryOption
- Model.LQAModelCategoryResponse
- Model.LQAModelProjectResponse
- Model.LQAModelResponse
- Model.LQAModelSeverityResponse
- Model.LQAModelStatus
- Model.LQAModelSubCategoryResponse
- Model.LengthLimitSetting
- Model.MergeBranchRequest
- Model.MergeCellConflict
- Model.MergeRecordConflict
- Model.MovePath
- Model.NumberFormat
- Model.PathList
- Model.PathNode
- Model.PathSingle
- Model.Project
- Model.ProjectDetail
- Model.Record
- Model.RecordHistory
- Model.RecordIdentifierWrapper
- Model.Reference
- Model.ReferencedColumn
- Model.ReferencedGrid
- Model.Selection
- Model.SelectionOption
- Model.SetCell
- Model.SetRecord
- Model.SettingFile
- Model.ShareView
- Model.SubCategorySeverityResponse
- Model.Task
- Model.TransMem
- Model.TranslationCount
- Model.TranslationStatus
- Model.UpdateCategory
- Model.UpdateColumn
- Model.UpdateDatabase
- Model.UpdateDependency
- Model.UpdateGlossary
- Model.UpdateGrid
- Model.UpdateGridSetting
- Model.UpdatePath
- Model.UpdateProject
- Model.UpdateTransMem
- Model.UploadSettingFileRequest
- Model.UploadedFile
- Model.View
- Model.ViewColumn
- Model.ViewStatistic
Authentication schemes defined for the API:
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header