IRPCObjectOperations.GetObjectGUID
Vault API / core write session or assertion returns metadata structure version
Gets the GUID of an object.
| Service | Objects, versions, properties and files MFiles.IRPCObjectOperations |
|---|---|
| gRPC method | /MFiles.IRPCObjectOperations/GetObjectGUID |
| HTTP (mf-http-grpc) | POST /grpc/v1/get-object-guid |
| Request | GetObjectGUIDRequest |
| Response | GetObjectGUIDResponse |
| Book and level | Vault API, core |
| Kind | write |
| Session | Required: a session (mfiles-session-id-bin metadata) or a session assertion (x-mf-session-assertion metadata). |
| Idempotent | no |
| Returns metadata structure version | yes (in the mfiles-metadata-version-bin trailer) |
| Streaming | none (unary) |
Remarks
The GUID is returned in braces and upper case, for example
{ABE2580B-3D96-45D0-8A8A-38BFFC6E43E5}, the same value as ObjectLevelInfo.guid in the version
information. The reverse lookup is
GetObjIDByGUID.
Request: GetObjectGUIDRequest
Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.
| Field | Type | Description |
|---|---|---|
obj_id | ObjID | The object. |
obj_id.type | int32 | The object type ID, for example 0 for documents. In a lookup value, the value list ID (for a lookup to objects, the object type ID). |
obj_id.item_id | ItemID | The ID of the object within its type, in item_id.internal_id. |
obj_id.item_id.internal_id | int32 | The ID of the object or value list item. |
obj_id.item_id.external_repository_id | ExternalRepositoryID | Used only for objects in external repositories (external connectors). Leave it unset for objects stored in the vault. |
Response: GetObjectGUIDResponse
Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.
| Field | Type | Description |
|---|---|---|
pguid | string | The object GUID, in braces. |
Related methods
- GetObjIDByGUID -- Gets the object ID of the object that has the given object GUID.