Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.
This repository was archived by the owner on May 6, 2022. It is now read-only.

Creating an API Product with just the proxy should not be allowed. #10

@kurtkanaskie

Description

@kurtkanaskie

The request should require the use of --opgrp operations.json or --gqlopgrp gql-operations.json.

Otherwise it creates a product that can be used anywhere.

apigeecli -t $TOKEN -o $ORG products create --name example-v1-$ENV \
	--envs $ENV --proxies product-recommendations-v1 --approval auto
{
	"name": "example-v1-test-1",
	"approvalType": "auto",
	"environments": [
		"test-1"
	],
	"createdAt": "1636050369457",
	"lastModifiedAt": "1636050369457"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions