ite
=head1 OPTIONS
--token GitHub API token
--token-file filename containing JSON with the GitHub API token
--user GitHub user of repository to fetch
--repo
package Minion::Command::minion::job;
use Mojo::Base 'Mojolicious::Command';
use Mojo::JSON qw(decode_json);
use Mojo::Util qw(getopt tablify);
has description => 'Manage Minion jobs';
has usage
\@args,
'A|attempts=i' => \$options->{attempts},
'a|args=s' => sub { $args = decode_json($_[1]) },
'b|broadcast=s' => (\my $command),
'd|delay=i' => \$options->{delay},
'
i' => \(my $limit = 100),
'n|notes=s' => sub { $options->{notes} = decode_json($_[1]) },
'o|offset=i' => \(my $offset = 0),
'P|parent=s' => sub { push
Returns the cancelling batch's details.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
the Upload.
Type: C<string>
=back
=head3 Request Body
=head3 Content Type: C<application/json>
Example:
{
"part_ids" : [
null
]
}
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
,
"bytes": 2147483648,
"created_at": 1719184911,
"filename": "training_examples.jsonl",
"purpose": "fine-tune",
"status": "completed",
"expires_at": 1719127296,
de: C<200>
Invites listed successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
);
=head3 Parameters
=over 4
=back
=head3 Request Body
=head3 Content Type: C<application/json>
Example:
{
"projects" : [
null
]
}
Code: C<200>
User invited successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
Code: C<200>
User deleted successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
de: C<200>
User retrieved successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
lication/json>
=head3 Responses
=head4 Status Code: C<200>
User role updated successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Exampl
de: C<200>
Invite deleted successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
: C<200>
Invite retrieved successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
# Stringy
char => 'string',
json => 'string',
string => 'string',
text => 'string',
# Special
enum => 'string',
jsonb => 'string',
money => 'string',
s
'experimental::signatures';
use PerlX::Maybe;
use IO::Socket::SSL;
use Net::GitHub;
use DBI;
use JSON;
use Data::Dumper;
our $VERSION = '0.05';
=head1 NAME
GitHub::RSS - collect data from Github.
access_token => $self->token
),
},
);
=item *
B<token_file> - name and path of the JSON-format token file containing the
GitHub API token By default, that file is searched for under the
$!";
binmode $fh;
local $/;
my $json = <$fh>;
my $token_json = decode_json( $json );
return $token_json->{token};
} else {
# We'll run without a kn
package Koha::Contrib::ValueBuilder::RepeatableAutocomplete;
use strict;
use warnings;
use JSON qw(to_json);
# ABSTRACT: Repeatable autcomplete value-builder for Koha
our $VERSION = '1.006'; # VERSI
my $val = {
function_name => $params->{id},
data => to_json( $args->{data} ),
target => $args->{target},
minlength => $arg
function_name => $params->{id},
data => to_json( $args->{data} ),
target_map => to_json( $args->{target_map}),
minlength => $args->{minlength
tion/json>
=head3 Responses
=head4 Status Code: C<200>
Project rate limit updated successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
E
Error response for various conditions.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
200>
Usage data retrieved successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
# deal with boolean stuff so we don't pollute our object
# with JSON
if (ref($val) eq 'JSON::PP::Boolean') {
$val = !!$val;
}
$obj->$field($
alars";
}
else {
my $val = $hash->{$field};
if (ref($val) eq 'JSON::PP::Boolean') {
$val = 0+$val;
}
$obj->$field($val);
}
rss
=head1 OPTIONS
--token GitHub API token
--token-file filename containing JSON with the GitHub API token
--user GitHub user of repository to fetch
--repo
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
be modified.
Type: C<string>
=back
=head3 Request Body
=head3 Content Type: C<application/json>
Example:
{
"tool_resources" : {
"code_interpre
imum number of tokens to generate
}
}
);
my $response_data = $tx->res->json;
print Dumper($response_data);
=head1 DESCRIPTION
OpenAPI::Client::OpenAI is a client for th
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma