Skip to content

Releases: globus/globus-registered-api

v0.3.0

03 Mar 23:00
v0.3.0
6a5a35f

Choose a tag to compare

Added

  • Add Access Role Control to gra api create.

    Usage Example:

    gra api create "My API" \
        --target ./target-json-structure.json \
        --description "My Cool API" \
        --owner "urn:globus:auth:identity:0b8067fc-0bb4-46e4-b23d-3ad543624519" \
        --admin "urn:globus:auth:identity:d86ff962-1b2a-4de8-8bde-7dc993494dcb" \
        --admin "urn:globus:groups:id:b0d11f00-5701-480f-a523-5b03869dfdbc" \
        --viewer "urn:globus:groups:id:ed3219c3-c4ef-4b04-932a-d00bf88ceea7"

Fixed

  • Sort the list of available targets more consistently.

Changed

  • Change the gra api create command to accept a target file,
    instead of constructing one from a supplied OpenAPI specification.

    New usage example:

    gra api create "My API" \
        --target ./target-json-structure.json \
        --description "My Cool API"
  • Change the gra api update command to accept a target file
    with the option --target instead of a target-file argument.

Development

  • Standardize the way that Registered APIs are printed across commands.

v0.2.1

03 Mar 01:04
v0.2.1
a79ff8e

Choose a tag to compare

Fixed

  • Fix an AssertionError that occurs if there are no roles or no targets.

v0.2.0

27 Feb 16:12
v0.2.0
c1ff674

Choose a tag to compare

Added

  • Implement an interactive gra init command to initialize a new repository.
  • Implement an interactive gra manage command to manage a repository.

Development

  • Add re-usable constructs for requesting single- and multi-value user selections.

v0.1.0

26 Feb 22:17
v0.1.0
a72b325

Choose a tag to compare

Added

Initial release.

These commands are currently available:

  • API commands under the gra api command group:

    • gra api create
    • gra api list
    • gra api show
    • gra api update
    • gra api delete
  • Globus Auth session management commands under the gra session command group:

    • gra session whoami
    • gra session logout
  • Repository abstraction commands (currently only stubbed):

    • gra init
    • gra manage
    • gra publish

Supported environment variables:

  • GLOBUS_PROFILE, for profile-aware token storage.
  • GLOBUS_REGISTERED_API_CLIENT_ID and GLOBUS_REGISTERED_API_CLIENT_SECRET
    for using a confidential client for API calls.