No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 3200.0.0
- Build package: io.swagger.codegen.languages.PhpClientCodegen
PHP 5.4.0 and later
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/mcharris/BlackboardRestPHP.git"
}
],
"require": {
"mcharris/BlackboardRestPHP": "*@dev"
}
}
Then run composer install
Download the files and include autoload.php
:
require_once('/path/to/SwaggerClient-php/autoload.php');
To run the unit tests:
composer install
./vendor/bin/phpunit
Please follow the installation procedure and then run the following:
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: bearer
BlackboardRest\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// BlackboardRest\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$api_instance = new BlackboardRest\Api\AnnouncementsApi();
$announcement_id = "announcement_id_example"; // string |
$fields = "fields_example"; // string | A comma-delimited list of fields to include in the response. If not specified, all fields will be returned.
try {
$api_instance->announcementsAnnouncementIdDelete($announcement_id, $fields);
} catch (Exception $e) {
echo 'Exception when calling AnnouncementsApi->announcementsAnnouncementIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
All URIs are relative to https://localhost/learn/api/public/v1/
Class | Method | HTTP request | Description |
---|---|---|---|
AnnouncementsApi | announcementsAnnouncementIdDelete | DELETE announcements/{announcementId} | Delete Announcement |
AnnouncementsApi | announcementsAnnouncementIdGet | GET announcements/{announcementId} | Get Announcement |
AnnouncementsApi | announcementsAnnouncementIdPatch | PATCH announcements/{announcementId} | Update Announcement |
AnnouncementsApi | announcementsGet | GET announcements | Get Announcements |
AnnouncementsApi | announcementsPost | POST announcements | Create Announcement |
ContentApi | coursesCourseIdContentsContentIdChildrenGet | GET courses/{courseId}/contents/{contentId}/children | Get Children |
ContentApi | coursesCourseIdContentsContentIdChildrenPost | POST courses/{courseId}/contents/{contentId}/children | Create Child |
ContentApi | coursesCourseIdContentsContentIdDelete | DELETE courses/{courseId}/contents/{contentId} | Delete Content |
ContentApi | coursesCourseIdContentsContentIdGet | GET courses/{courseId}/contents/{contentId} | Get Content |
ContentApi | coursesCourseIdContentsContentIdPatch | PATCH courses/{courseId}/contents/{contentId} | Update Content |
ContentApi | coursesCourseIdContentsGet | GET courses/{courseId}/contents | Get Contents |
ContentApi | coursesCourseIdContentsPost | POST courses/{courseId}/contents | Create Content |
ContentGroupAssignmentsApi | coursesCourseIdContentsContentIdGroupsGet | GET courses/{courseId}/contents/{contentId}/groups | Get Content Groups |
ContentGroupAssignmentsApi | coursesCourseIdContentsContentIdGroupsGroupIdDelete | DELETE courses/{courseId}/contents/{contentId}/groups/{groupId} | Delete Content Group |
ContentGroupAssignmentsApi | coursesCourseIdContentsContentIdGroupsGroupIdGet | GET courses/{courseId}/contents/{contentId}/groups/{groupId} | Get Content Group |
ContentGroupAssignmentsApi | coursesCourseIdContentsContentIdGroupsGroupIdPut | PUT courses/{courseId}/contents/{contentId}/groups/{groupId} | Create Content Group |
CourseGradesApi | coursesCourseIdGradebookColumnsColumnIdAttemptsAttemptIdGet | GET courses/{courseId}/gradebook/columns/{columnId}/attempts/{attemptId} | Get Column Attempt |
CourseGradesApi | coursesCourseIdGradebookColumnsColumnIdAttemptsGet | GET courses/{courseId}/gradebook/columns/{columnId}/attempts | Get Column Attempts |
CourseGradesApi | coursesCourseIdGradebookColumnsColumnIdDelete | DELETE courses/{courseId}/gradebook/columns/{columnId} | Delete Grade Column |
CourseGradesApi | coursesCourseIdGradebookColumnsColumnIdGet | GET courses/{courseId}/gradebook/columns/{columnId} | Get Grade Column |
CourseGradesApi | coursesCourseIdGradebookColumnsColumnIdPatch | PATCH courses/{courseId}/gradebook/columns/{columnId} | Update Grade Column |
CourseGradesApi | coursesCourseIdGradebookColumnsColumnIdUsersGet | GET courses/{courseId}/gradebook/columns/{columnId}/users | Get Column Grades |
CourseGradesApi | coursesCourseIdGradebookColumnsColumnIdUsersUserIdGet | GET courses/{courseId}/gradebook/columns/{columnId}/users/{userId} | Get Column Grade |
CourseGradesApi | coursesCourseIdGradebookColumnsColumnIdUsersUserIdPatch | PATCH courses/{courseId}/gradebook/columns/{columnId}/users/{userId} | Update Column Grade |
CourseGradesApi | coursesCourseIdGradebookColumnsGet | GET courses/{courseId}/gradebook/columns | Get Grade Columns |
CourseGradesApi | coursesCourseIdGradebookColumnsPost | POST courses/{courseId}/gradebook/columns | Create Grade Column |
CourseGradesApi | coursesCourseIdGradebookUsersUserIdGet | GET courses/{courseId}/gradebook/users/{userId} | Get User Grades |
CourseGroupUsersApi | coursesCourseIdGroupsGroupIdUsersGet | GET courses/{courseId}/groups/{groupId}/users | Get Group Memberships |
CourseGroupUsersApi | coursesCourseIdGroupsGroupIdUsersUserIdDelete | DELETE courses/{courseId}/groups/{groupId}/users/{userId} | Delete Group Membership |
CourseGroupUsersApi | coursesCourseIdGroupsGroupIdUsersUserIdGet | GET courses/{courseId}/groups/{groupId}/users/{userId} | Get Group Membership |
CourseGroupUsersApi | coursesCourseIdGroupsGroupIdUsersUserIdPut | PUT courses/{courseId}/groups/{groupId}/users/{userId} | Put Group Membership |
CourseGroupsApi | coursesCourseIdGroupsGet | GET courses/{courseId}/groups | Get Groups |
CourseGroupsApi | coursesCourseIdGroupsGroupIdDelete | DELETE courses/{courseId}/groups/{groupId} | Delete Group |
CourseGroupsApi | coursesCourseIdGroupsGroupIdGet | GET courses/{courseId}/groups/{groupId} | Get Group |
CourseGroupsApi | coursesCourseIdGroupsGroupIdPatch | PATCH courses/{courseId}/groups/{groupId} | Update Group |
CourseGroupsApi | coursesCourseIdGroupsPost | POST courses/{courseId}/groups | Create Group |
CourseMembershipsApi | coursesCourseIdUsersGet | GET courses/{courseId}/users | Get Memberships |
CourseMembershipsApi | coursesCourseIdUsersUserIdDelete | DELETE courses/{courseId}/users/{userId} | Delete Membership |
CourseMembershipsApi | coursesCourseIdUsersUserIdGet | GET courses/{courseId}/users/{userId} | Get Membership |
CourseMembershipsApi | coursesCourseIdUsersUserIdPatch | PATCH courses/{courseId}/users/{userId} | Update Membership |
CourseMembershipsApi | coursesCourseIdUsersUserIdPut | PUT courses/{courseId}/users/{userId} | Create Membership |
CourseMembershipsApi | usersUserIdCoursesGet | GET users/{userId}/courses | Get Memberships |
CoursesApi | coursesCourseIdChildrenChildCourseIdGet | GET courses/{courseId}/children/{childCourseId} | Get Child |
CoursesApi | coursesCourseIdChildrenGet | GET courses/{courseId}/children | Get Children |
CoursesApi | coursesCourseIdDelete | DELETE courses/{courseId} | Delete Course |
CoursesApi | coursesCourseIdGet | GET courses/{courseId} | Get Course |
CoursesApi | coursesCourseIdPatch | PATCH courses/{courseId} | Update Course |
CoursesApi | coursesGet | GET courses | Get Courses |
CoursesApi | coursesPost | POST courses | Create Course |
DataSourcesApi | dataSourcesDataSourceIdDelete | DELETE dataSources/{dataSourceId} | Delete Data Source |
DataSourcesApi | dataSourcesDataSourceIdGet | GET dataSources/{dataSourceId} | Get Data Source |
DataSourcesApi | dataSourcesDataSourceIdPatch | PATCH dataSources/{dataSourceId} | Update Data Source |
DataSourcesApi | dataSourcesGet | GET dataSources | Get Data Sources |
DataSourcesApi | dataSourcesPost | POST dataSources | Create Data Source |
OauthApi | oauth2TokenPost | POST oauth2/token | Request Token |
SystemApi | systemVersionGet | GET system/version | Get Version |
TermsApi | termsGet | GET terms | Get Terms |
TermsApi | termsPost | POST terms | Create Term |
TermsApi | termsTermIdDelete | DELETE terms/{termId} | Delete Term |
TermsApi | termsTermIdGet | GET terms/{termId} | Get Term |
TermsApi | termsTermIdPatch | PATCH terms/{termId} | Update Term |
UsersApi | usersGet | GET users | Get Users |
UsersApi | usersPost | POST users | Create User |
UsersApi | usersUserIdDelete | DELETE users/{userId} | Delete User |
UsersApi | usersUserIdGet | GET users/{userId} | Get User |
UsersApi | usersUserIdPatch | PATCH users/{userId} | Update User |
- AdaptiveRelease
- Address
- Announcement
- AnonymousGrading
- AnonymousGrading1
- Attempt
- Availability
- Availability1
- Availability2
- Availability3
- Availability4
- Availability5
- Availability6
- Availability7
- Contact
- Content
- ContentGroup
- ContentHandler
- Course
- CourseChild
- DataSource
- Duration
- Duration1
- Duration2
- Enrollment
- Enrollment1
- Enrollment2
- Enrollment3
- Grade
- GradeColumn
- Grading
- Grading1
- Grading2
- Group
- GroupMembership
- InlineResponse200
- InlineResponse2001
- InlineResponse20010
- InlineResponse20011
- InlineResponse20012
- InlineResponse20013
- InlineResponse2002
- InlineResponse2003
- InlineResponse2004
- InlineResponse2005
- InlineResponse2006
- InlineResponse2007
- InlineResponse2008
- InlineResponse2009
- Input
- Input1
- Input10
- Input11
- Input12
- Input13
- Input14
- Input15
- Input16
- Input17
- Input18
- Input19
- Input2
- Input20
- Input3
- Input4
- Input5
- Input6
- Input7
- Input8
- Input9
- Job
- Locale
- Locale1
- Membership
- Name
- Name1
- OAuth2AccessToken
- OAuth2Error
- PagingInfo
- RestException
- Score
- SignupSheet
- SystemRoleEnum
- Term
- User
- Version
- VersionInfo
- Type: HTTP basic authentication
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header