0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-16 08:58:20 +02:00
construct/modules/client/keys/signatures/upload.cc

52 lines
1.3 KiB
C++

// The Construct
//
// Copyright (C) The Construct Developers, Authors & Contributors
// Copyright (C) 2016-2020 Jason Volk <jason@zemos.net>
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice is present in all copies. The
// full license for this software is available in the LICENSE file.
namespace ircd::m
{
static resource::response post_keys_signatures_upload(client &, const resource::request &);
extern resource::method keys_signatures_upload_post;
extern resource keys_signatures_upload;
}
ircd::mapi::header
IRCD_MODULE
{
"Client (undocumented) :Keys Signatures Upload"
};
decltype(ircd::m::keys_signatures_upload)
ircd::m::keys_signatures_upload
{
"/_matrix/client/unstable/keys/signatures/upload",
{
"(undocumented) Keys Signatures Upload"
}
};
decltype(ircd::m::keys_signatures_upload_post)
ircd::m::keys_signatures_upload_post
{
keys_signatures_upload, "POST", post_keys_signatures_upload,
{
keys_signatures_upload_post.REQUIRES_AUTH
}
};
ircd::m::resource::response
ircd::m::post_keys_signatures_upload(client &client,
const resource::request &request)
{
return resource::response
{
client, http::NOT_IMPLEMENTED
};
}