PSAgentGraphQL 1.1.2

dotnet add package PSAgentGraphQL --version 1.1.2
NuGet\Install-Package PSAgentGraphQL -Version 1.1.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PSAgentGraphQL" Version="1.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PSAgentGraphQL --version 1.1.2
#r "nuget: PSAgentGraphQL, 1.1.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PSAgentGraphQL as a Cake Addin
#addin nuget:?package=PSAgentGraphQL&version=1.1.2

// Install PSAgentGraphQL as a Cake Tool
#tool nuget:?package=PSAgentGraphQL&version=1.1.2

PSAgentGraphQL

This module contains PowerShell functions that facilitate query and mutation operations against GraphQL endpoints like createTicket and updateTicket.

Tested on

🖥️ Windows 10

Requirements

Requires PowerShell 5.1 or above.

Installation

Install-Module -Name PSAgentGraphQL -Repository PSGallery -Scope CurrentUser

Default Endpoint

"https://api.superops.ai/msp"

Examples

Send a GraphQL query to create a ticket

Invoke-CreateStatus -SubDomain "<SUBDOMAIN>" -ApiKey "Bearer <API_KEY>" -Subject "<SUBJECT>" -userId <USER_ID> -accountId <ACCOUNT_ID>

Send a GraphQL query to an endpoint to update the ticket

Update-TicketStatus -SubDomain "<SUBDOMAIN>" -ApiKey "Bearer <API_KEY>" -ticketId <TICKETID> -status "<STATUS>"
HEADERS
Key Value Type
SubDomain String
API Key String "Bearer --apikey--"
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.2 277 9/14/2022