public function rest_api_init( $server ) {
		register_rest_route( 'sekisyo/v1', 'license/(?P<guid>[^/]+)/?', [
			[
				'methods'             => 'POST',
				'callback'            => [ $this, 'handle_rest_post' ],
				'args'                => [
					'guid'    => [
						'required' => true,
					],
					'license' => [
						'required' => true,
					],
				],
				'permission_callback' => function ( $request ) {
					return current_user_can( 'activate_plugins' );
				},
			],
			[
				'methods'             => 'DELETE',
				'callback'            => [ $this, 'handle_rest_delete' ],
				'args'                => [
					'guid'    => [
						'required' => true,
					],
					'license' => [
						'required' => true,
					],
				],
				'permission_callback' => function ( $request ) {
					return current_user_can( 'activate_plugins' );
				},
			],
		] );
	}