G'iybat Partal API List
API list. Quyidagi API-lardan foydalangan holda o'zingiz G'iybat.uz ni Front qismini
bajaring.
Version: 1.0
Donate (uzcard) 8600 3029 1087 3204
Test Data
API-larni ishlatish uchun qiyidagi test user-lardan foydalanish mumkun.
Jigarlar quyidagi Test Profile-larni ma'lumotlarini o'zgartirib bo'lmaydi. Ammo siz o'zingiz boshqa Profile orqali
ro'yhatdan o'tib bemalol uning ma'lumotlarini o'zgartirsa bo'ladi.
User
- Login:
alishaliyev@gmail.com
- Password:
123456
Admin
- Login:
adminjon@gmail.com
- Password:
123456
Post-lar
Partalda bor bo'lgan post-larni o'zgartirib bo'lmaydi. Ammo siz o'zigniz yangi post yaratib uni o'zgartirishingiz
mumkun. Siz yozgan Post asosiy saxifada ko'rinmaydi. Uni Profile-ning post-laridan topasiz.
Shuningdek birovni postini o'zgaritib b'olmaydigan qilganmiz. Sababi boshqa foydalanuvchilar ishlab turgan bo'lsa
uning
post-larini o'zgartirib tashlamasliklari uchun.
API-larni ishlatish. Jigarlar API-larni ishlatishda o'zingiz bitta Profile orqali ro'yhatdan o'tib ishlaganiz
ma'qul.
[ Jump to Models ]
Table of Contents
Up
post /api/v1/g/attach/upload
Upload attach (create13)
Api used for upload attach
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
AttachDTO
Up
get /api/v1/g/attach/open/{fileName}
Open attach (open1)
Api used for open attach
Path parameters
fileName (required)
Path Parameter —
Return type
byte[]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
byte[]
Up
get /api/v1/g/auth/registration/email-verification/{token}
Email verification (emailVerification)
Api used for registration verification using email
Path parameters
token (required)
Path Parameter —
Query parameters
lang (optional)
Query Parameter — default: UZ
Return type
String
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
String
Up
post /api/v1/g/auth/login
Login (Auth) api (login1)
Api used for log-in to system
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
ProfileDTO
Up
post /api/v1/g/auth/registration
Profile registration (registration)
Api used for registration
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
AppResponseString
Up
post /api/v1/g/auth/reset-password
Reset Password (resetPassword1)
Api used for password reset
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
AppResponseString
Up
post /api/v1/g/auth/reset-password-confirm
Reset Password Confirm (resetPassword2)
Api used for password reset confirm
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
AppResponseString
Up
post /api/v1/g/auth/registration/sms-verification
Sms verification (smsVerification)
Api used for registration verification using sms
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
ProfileDTO
Up
post /api/v1/g/auth/registration/sms-verification-resend
Sms verification resend (smsVerificationResend)
Api used for resend sms verification code
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
AppResponseString
Up
get /api/v1/g/post/public/{id}
Get Post by id (byId2)
Api returns post by id
Path parameters
id (required)
Path Parameter —
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
PostDTO
Up
get /api/v1/g/post/detail/private/{id}
Get Post by id. Only for owner (byIdForNotPublished)
Api returns post by id
Path parameters
id (required)
Path Parameter —
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
PostDTO
Create Post (create12)
Api used for post creation
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
PostDTO
Up
delete /api/v1/g/post/{id}
Delete Post by id (delete14)
Api used for deleting post
Path parameters
id (required)
Path Parameter —
Return type
Boolean
Example data
Content-Type: application/json
true
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
Boolean
Up
post /api/v1/g/post/public/filter
Post public filter (filter10)
Api used for post filtering
Consumes
This API call consumes the following media types via the request header:
Request body
Query parameters
page (optional)
Query Parameter — default: 1 format: int32
size (optional)
Query Parameter — default: 10 format: int32
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
PagePostDTO
Up
post /api/v1/g/post/filter
Post filter for admin (filter11)
Api used for filtering post list. Api for admin
Consumes
This API call consumes the following media types via the request header:
Request body
Query parameters
page (optional)
Query Parameter — default: 1 format: int32
size (optional)
Query Parameter — default: 10 format: int32
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
PagePostDTO
Up
get /api/v1/g/post/profile
Profile Post list (profilePostList1)
Get all profile post list
Query parameters
page (optional)
Query Parameter — default: 1 format: int32
size (optional)
Query Parameter — default: 12 format: int32
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
PagePostDTO
Up
post /api/v1/g/post/public/similar
Get similar post list (similarPostList)
Api used for getting similar post list
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
Up
put /api/v1/g/post/{id}
Update Post (update11)
Api used for post update
Path parameters
id (required)
Path Parameter —
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
PostDTO
Up
delete /api/v1/g/profile/{id}
Delete profile (delete13)
Api used for deleting profile
Path parameters
id (required)
Path Parameter — format: int32
Request headers
Return type
Example data
Content-Type: application/json
{
"data" : "data",
"message" : "message"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
AppResponseString
Up
post /api/v1/g/profile/filter
Profile filter (filter9)
Api used for filtering profile list
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Query parameters
page (optional)
Query Parameter — default: 1 format: int32
size (optional)
Query Parameter — default: 10 format: int32
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
PageImplProfileDTO
Up
put /api/v1/g/profile/status/{id}
Change profile status (status)
Api used for changing profile status
Path parameters
id (required)
Path Parameter — format: int32
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Return type
Example data
Content-Type: application/json
{
"data" : "data",
"message" : "message"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
AppResponseString
Up
put /api/v1/g/profile/detail
Update profile detail (updateDetail1)
Api used for update profile detail
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Return type
Example data
Content-Type: application/json
{
"data" : "data",
"message" : "message"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
AppResponseString
Up
put /api/v1/g/profile/password
Update profile password (updatePassword1)
Api used for profile password update
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Return type
Example data
Content-Type: application/json
{
"data" : "data",
"message" : "message"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
AppResponseString
Up
put /api/v1/g/profile/photo
Update profile photo (updatePhoto1)
Api used for update profile photo
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Return type
Example data
Content-Type: application/json
{
"data" : "data",
"message" : "message"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
AppResponseString
Up
put /api/v1/g/profile/username
Update profile username (updateUsername)
Api used for profile username update
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Return type
Example data
Content-Type: application/json
{
"data" : "data",
"message" : "message"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
AppResponseString
Up
put /api/v1/g/profile/username/confirm
Update profile username confirm (updateUsernameConfirm)
Api used for confirm profile username update
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Return type
Example data
Content-Type: application/json
{
"data" : "data",
"message" : "message"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
AppResponseString
[ Jump to Methods ]
Table of Contents
AppResponseString
AttachCreateDTO
AttachDTO
AuthDTO
CodeConfirmDTO
PageImplProfileDTO
PagePostDTO
PageableObject
PostAdminFilterDTO
PostCreateDTO
PostDTO
PostFilterDTO
ProfileDTO
ProfileDetailUpdateDTO
ProfileFilterDTO
ProfilePasswordUpdateDTO
ProfilePhotoUpdateDTO
ProfileStatusDTO
ProfileUsernameUpdateDTO
RegistrationDTO
ResetPasswordConfirmDTO
ResetPasswordDTO
SimilarPostListDTO
SmsResendDTO
SmsVerificationDTO
SortObject
attach_upload_body
data (optional)
message (optional)
id
originName (optional)
size (optional)
extension (optional)
createdData (optional)
url (optional)
content (optional)
pageable (optional)
totalElements (optional)
totalPages (optional)
last (optional)
size (optional)
number (optional)
sort (optional)
numberOfElements (optional)
first (optional)
empty (optional)
totalElements (optional)
totalPages (optional)
size (optional)
content (optional)
number (optional)
sort (optional)
numberOfElements (optional)
pageable (optional)
first (optional)
last (optional)
empty (optional)
offset (optional)
sort (optional)
paged (optional)
pageNumber (optional)
pageSize (optional)
unpaged (optional)
profileQuery (optional)
postQuery (optional)
id (optional)
title (optional)
content (optional)
photo (optional)
createdDate (optional)
profile (optional)
status (optional)
PUBLISH
NOT_PUBLISH
query (optional)
exceptId (optional)
id (optional)
name (optional)
surname (optional)
phone (optional)
password (optional)
status (optional)
ACTIVE
REGISTRATION
NOT_ACTIVE
BLOCK
roles (optional)
roleStr (optional)
createdDate (optional)
updatedDate (optional)
visible (optional)
photo (optional)
subjects (optional)
subjectStr (optional)
query (optional)
phone (optional)
role (optional)
status (optional)
ACTIVE
BLOCK
IN_REGISTRATION
phone
code
newPassword
repeatNewPassword
direction (optional)
nullHandling (optional)
ascending (optional)
property (optional)
ignoreCase (optional)