You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added endpoints for getting all entries of a type, e.g. RecordsAll.
Combined some endpoints (see notesin "API Breaking" section).
Allow searching for related entries. E.g. you can provide a record id to the scope search.
Add ability to return related entries. E.g. the Sessions endpoint has a include_records flag that will cause the response to contain the records that are part of the sessions.
Add optional identification fields in tx Write... messages. #169
The Write endpoints now return information about the written entries. #169
Added a CLI command for getting all entries of a type, query metadata all <type>, or query metadata <type> all. #169
Removed the SessionContextByID and SessionContextByUUID endponts. Replaced with the Sessions endpoint.
Removed the RecordsByScopeID and RecordsByScopeUUID endpoints. Replaced with the Records endpoint.
Removed the ContractSpecificationExtended endpoint. Use ContractSpecification now with the include_record_specs flag.
Removed the RecordSpecificationByID endpoint. Use the RecordSpecification endpoint.
Change the _uuid fields in the queries to _id to allow for either address or uuid input.
The Scope query no longer returns Sessions and Records by default. Use the include_sessions and include_records if you want them.
Query result entries are now wrapped to include extra id information alongside an entry.
E.g. Where a Scope used to be returned, now a ScopeWrapper is returned containing a Scope and its ScopeIdInfo.
So where you previously had resp.Scope you will now want resp.Scope.Scope.
Pluralized both the message name and field name of locator queries that return multiple entries.
OSLocatorByScopeUUIDRequest and OSLocatorByScopeUUIDResponse changed to OSLocatorsByScopeUUIDRequest and OSLocatorsByScopeUUIDResponse.
OSLocatorByURIRequest and OSLocatorByURIResponse changed to OSLocatorsByURIRequest and OSLocatorsByURIResponse.
Field name locator changed to locators in OSLocatorsByURIResponse, OSLocatorsByScopeUUIDResponse, OSAllLocatorsResponse.
Client Breaking
The paths for querying metadata have changed. See API Breaking section for an overview, and the proto file for details. #169
The CLI has been updated for metadata querying. #169
Removed the fullscope command. Use query metadata scope --include-sessions --include-records now.
Combined the locator-by-addr, locator-by-uri, locator-by-scope, and locator-all into a single locator command.
Changed the CLI metadata tx add-... commands to write-.... #166