Removed in 3.7. Historical definition from 3.6.
Get the preferred package version for constructing a command submission. A preferred package is the highest-versioned package for a provided package-name that is vetted by all the participants hosting the provided parties.Protocol Details
Inputs
partiesstring[]package-namestringrequiredvetting_valid_atstring (date-time)synchronizer-idstringOutputs
application/json
packagePreferencePackagePreferenceNot populated when no preferred package is found Optional
application/json
codestringrequiredcausestringrequiredcorrelationIdstringtraceIdstringcontextMap_StringrequiredresourcesTuple2_String_String[]errorCategoryinteger (int32)requiredgrpcCodeValueinteger (int32)retryInfostringdefiniteAnswerbooleanHistory
Removed in
3.7Last available in 3.6. Retained for historical reference.
Updated
3.6The GET /v2/interactive-submission/preferred-package-version operation changed in this snapshot.
Deprecated
3.5Updated
3.5The GET /v2/interactive-submission/preferred-package-version operation changed in this snapshot.
cURL
cURL
Python
Python
JavaScript
JavaScript
PHP
PHP
Go
Go
Java
Java
Ruby
Ruby
200application/json
200
400text/plain
400
defaultapplication/json
default