Skip to content

Commit 4b798b2

Browse files
Excavator: Upgrade API Version (#125)
1 parent a223695 commit 4b798b2

14 files changed

+29
-104
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,12 +543,17 @@ Namespace | Resource | Operation | HTTP request |
543543
**OntologiesV2** | ObjectType | [**page**](docs/v2/OntologiesV2/ObjectType.md#page) | **GET** /v2/ontologies/{ontology}/objectTypes |
544544
**OntologiesV2** | ObjectType | [**page_outgoing_link_types**](docs/v2/OntologiesV2/ObjectType.md#page_outgoing_link_types) | **GET** /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes |
545545
**OntologiesV2** | Ontology | [**get**](docs/v2/OntologiesV2/Ontology.md#get) | **GET** /v2/ontologies/{ontology} |
546+
**OntologiesV2** | Ontology | [**get_full_metadata**](docs/v2/OntologiesV2/Ontology.md#get_full_metadata) | **GET** /v2/ontologies/{ontology}/fullMetadata |
547+
**OntologiesV2** | OntologyInterface | [**get**](docs/v2/OntologiesV2/OntologyInterface.md#get) | **GET** /v2/ontologies/{ontology}/interfaceTypes/{interfaceType} |
548+
**OntologiesV2** | OntologyInterface | [**list**](docs/v2/OntologiesV2/OntologyInterface.md#list) | **GET** /v2/ontologies/{ontology}/interfaceTypes |
549+
**OntologiesV2** | OntologyInterface | [**page**](docs/v2/OntologiesV2/OntologyInterface.md#page) | **GET** /v2/ontologies/{ontology}/interfaceTypes |
546550
**OntologiesV2** | OntologyObject | [**aggregate**](docs/v2/OntologiesV2/OntologyObject.md#aggregate) | **POST** /v2/ontologies/{ontology}/objects/{objectType}/aggregate |
547551
**OntologiesV2** | OntologyObject | [**get**](docs/v2/OntologiesV2/OntologyObject.md#get) | **GET** /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey} |
548552
**OntologiesV2** | OntologyObject | [**list**](docs/v2/OntologiesV2/OntologyObject.md#list) | **GET** /v2/ontologies/{ontology}/objects/{objectType} |
549553
**OntologiesV2** | OntologyObject | [**page**](docs/v2/OntologiesV2/OntologyObject.md#page) | **GET** /v2/ontologies/{ontology}/objects/{objectType} |
550554
**OntologiesV2** | OntologyObject | [**search**](docs/v2/OntologiesV2/OntologyObject.md#search) | **POST** /v2/ontologies/{ontology}/objects/{objectType}/search |
551555
**OntologiesV2** | OntologyObjectSet | [**aggregate**](docs/v2/OntologiesV2/OntologyObjectSet.md#aggregate) | **POST** /v2/ontologies/{ontology}/objectSets/aggregate |
556+
**OntologiesV2** | OntologyObjectSet | [**create_temporary**](docs/v2/OntologiesV2/OntologyObjectSet.md#create_temporary) | **POST** /v2/ontologies/{ontology}/objectSets/createTemporary |
552557
**OntologiesV2** | OntologyObjectSet | [**load**](docs/v2/OntologiesV2/OntologyObjectSet.md#load) | **POST** /v2/ontologies/{ontology}/objectSets/loadObjects |
553558
**OntologiesV2** | Query | [**execute**](docs/v2/OntologiesV2/Query.md#execute) | **POST** /v2/ontologies/{ontology}/queries/{queryApiName}/execute |
554559
**OntologiesV2** | QueryType | [**get**](docs/v2/OntologiesV2/QueryType.md#get) | **GET** /v2/ontologies/{ontology}/queryTypes/{queryApiName} |

docs/v2/OntologiesV2/Ontology.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Method | HTTP request |
44
------------- | ------------- |
55
[**get**](#get) | **GET** /v2/ontologies/{ontology} |
6+
[**get_full_metadata**](#get_full_metadata) | **GET** /v2/ontologies/{ontology}/fullMetadata |
67

78
# **get**
89
Gets a specific ontology with the given Ontology RID.
@@ -58,6 +59,7 @@ See [README](../../../README.md#authorization)
5859

5960
[[Back to top]](#) [[Back to API list]](../../../README.md#apis-v2-link) [[Back to Model list]](../../../README.md#models-v2-link) [[Back to README]](../../../README.md)
6061

62+
# **get_full_metadata**
6163
Get the full Ontology metadata. This includes the objects, links, actions, queries, and interfaces.
6264

6365

docs/v2/OntologiesV2/OntologyInterface.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
Method | HTTP request |
44
------------- | ------------- |
5+
[**get**](#get) | **GET** /v2/ontologies/{ontology}/interfaceTypes/{interfaceType} |
6+
[**list**](#list) | **GET** /v2/ontologies/{ontology}/interfaceTypes |
7+
[**page**](#page) | **GET** /v2/ontologies/{ontology}/interfaceTypes |
58

69
:::callout{theme=warning title=Warning}
710
This endpoint will be removed once TS OSDK is updated to use `objectSets/aggregate` with interface object
@@ -100,6 +103,7 @@ See [README](../../../README.md#authorization)
100103

101104
[[Back to top]](#) [[Back to API list]](../../../README.md#apis-v2-link) [[Back to Model list]](../../../README.md#models-v2-link) [[Back to README]](../../../README.md)
102105

106+
# **get**
103107
:::callout{theme=warning title=Warning}
104108
This endpoint is in preview and may be modified or removed at any time.
105109
To use this endpoint, add `preview=true` to the request query parameters.
@@ -166,6 +170,7 @@ See [README](../../../README.md#authorization)
166170

167171
[[Back to top]](#) [[Back to API list]](../../../README.md#apis-v2-link) [[Back to Model list]](../../../README.md#models-v2-link) [[Back to README]](../../../README.md)
168172

173+
# **list**
169174
:::callout{theme=warning title=Warning}
170175
This endpoint is in preview and may be modified or removed at any time.
171176
To use this endpoint, add `preview=true` to the request query parameters.
@@ -238,6 +243,7 @@ See [README](../../../README.md#authorization)
238243

239244
[[Back to top]](#) [[Back to API list]](../../../README.md#apis-v2-link) [[Back to Model list]](../../../README.md#models-v2-link) [[Back to README]](../../../README.md)
240245

246+
# **page**
241247
:::callout{theme=warning title=Warning}
242248
This endpoint is in preview and may be modified or removed at any time.
243249
To use this endpoint, add `preview=true` to the request query parameters.

docs/v2/OntologiesV2/OntologyObjectSet.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Method | HTTP request |
44
------------- | ------------- |
55
[**aggregate**](#aggregate) | **POST** /v2/ontologies/{ontology}/objectSets/aggregate |
6+
[**create_temporary**](#create_temporary) | **POST** /v2/ontologies/{ontology}/objectSets/createTemporary |
67
[**load**](#load) | **POST** /v2/ontologies/{ontology}/objectSets/loadObjects |
78

89
# **aggregate**
@@ -83,6 +84,7 @@ See [README](../../../README.md#authorization)
8384

8485
[[Back to top]](#) [[Back to API list]](../../../README.md#apis-v2-link) [[Back to Model list]](../../../README.md#models-v2-link) [[Back to README]](../../../README.md)
8586

87+
# **create_temporary**
8688
Creates a temporary `ObjectSet` from the given definition.
8789

8890
Third-party applications using this endpoint via OAuth2 must request the

foundry/_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
# using the autorelease bot
1818
__version__ = "0.0.0"
1919

20-
__openapi_document_version__ = "1.1062.0"
20+
__openapi_document_version__ = "1.1063.0"

foundry/v1/ontologies/errors/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@
288288
"PropertiesHaveDifferentIds",
289289
"OntologyNotFound",
290290
"PropertyTypeNotFound",
291-
"MarketplaceInstallationNotFound",
292291
"InvalidPropertyType",
292+
"MarketplaceInstallationNotFound",
293293
"ActionParameterObjectTypeNotFound",
294294
"UnknownParameter",
295295
"FunctionExecutionFailed",

foundry/v2/admin/errors/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@
2222
from foundry.v2.admin.errors._add_marking_role_assignments_permission_denied import (
2323
AddMarkingRoleAssignmentsPermissionDenied,
2424
) # NOQA
25-
from foundry.v2.admin.errors._cannot_get_provider_info_for_preregistered_principal import (
26-
CannotGetProviderInfoForPreregisteredPrincipal,
27-
) # NOQA
28-
from foundry.v2.admin.errors._cannot_replace_provider_info_for_preregistered_principal import (
29-
CannotReplaceProviderInfoForPreregisteredPrincipal,
30-
) # NOQA
3125
from foundry.v2.admin.errors._cannot_replace_provider_info_for_principal_in_protected_realm import (
3226
CannotReplaceProviderInfoForPrincipalInProtectedRealm,
3327
) # NOQA
@@ -129,8 +123,6 @@
129123
"AddGroupMembersPermissionDenied",
130124
"AddMarkingMembersPermissionDenied",
131125
"AddMarkingRoleAssignmentsPermissionDenied",
132-
"CannotGetProviderInfoForPreregisteredPrincipal",
133-
"CannotReplaceProviderInfoForPreregisteredPrincipal",
134126
"CannotReplaceProviderInfoForPrincipalInProtectedRealm",
135127
"CreateGroupPermissionDenied",
136128
"CreateMarkingMissingInitialAdminRole",

foundry/v2/admin/errors/_cannot_get_provider_info_for_preregistered_principal.py

Lines changed: 0 additions & 43 deletions
This file was deleted.

foundry/v2/admin/errors/_cannot_replace_provider_info_for_preregistered_principal.py

Lines changed: 0 additions & 43 deletions
This file was deleted.

foundry/v2/core/errors/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
from foundry.v2.core.errors._batch_request_size_exceeded_limit import (
1717
BatchRequestSizeExceededLimit,
1818
) # NOQA
19-
from foundry.v2.core.errors._get_root_folder_not_supported import GetRootFolderNotSupported # NOQA
20-
from foundry.v2.core.errors._get_space_resource_not_supported import (
21-
GetSpaceResourceNotSupported,
22-
) # NOQA
2319
from foundry.v2.core.errors._invalid_and_filter import InvalidAndFilter
2420
from foundry.v2.core.errors._invalid_change_data_capture_configuration import (
2521
InvalidChangeDataCaptureConfiguration,
@@ -35,13 +31,10 @@
3531
from foundry.v2.core.errors._invalid_schema import InvalidSchema
3632
from foundry.v2.core.errors._invalid_time_zone import InvalidTimeZone
3733
from foundry.v2.core.errors._missing_batch_request import MissingBatchRequest
38-
from foundry.v2.core.errors._resource_name_already_exists import ResourceNameAlreadyExists # NOQA
3934
from foundry.v2.core.errors._schema_is_not_stream_schema import SchemaIsNotStreamSchema
4035

4136
__all__ = [
4237
"BatchRequestSizeExceededLimit",
43-
"GetRootFolderNotSupported",
44-
"GetSpaceResourceNotSupported",
4538
"InvalidAndFilter",
4639
"InvalidChangeDataCaptureConfiguration",
4740
"InvalidFieldSchema",
@@ -53,6 +46,5 @@
5346
"InvalidSchema",
5447
"InvalidTimeZone",
5548
"MissingBatchRequest",
56-
"ResourceNameAlreadyExists",
5749
"SchemaIsNotStreamSchema",
5850
]

0 commit comments

Comments
 (0)