-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dapi): add data api endpoint version to connection info (#372)
Add the DataApi target version to the ConnectionInfo object Use the target version to calculate the DataApi endpoints
- Loading branch information
1 parent
746d4bc
commit 325bccb
Showing
4 changed files
with
122 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace FMData | ||
{ | ||
/// <summary> | ||
/// All supported FileMaker DataAPI endpoint versions. | ||
/// </summary> | ||
public enum RestTargetVersion | ||
{ | ||
/// <summary> | ||
/// Uses v1 endpoint of the DataAPI. | ||
/// </summary> | ||
v1, | ||
/// <summary> | ||
/// Uses v2 endpoint of the DataAPI. | ||
/// </summary> | ||
v2, | ||
/// <summary> | ||
/// Uses the latest endpoint version of the DataAPI. | ||
/// </summary> | ||
vLatest | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters