mirror of https://github.com/Squidex/squidex.git
Browse Source
* Update client library. * Fix tests. * Another fix. * Update packages. * Fix tests * Fix? * Fix URLs * Revert test * Another identity test. * Simplify configs.pull/981/head
committed by
GitHub
136 changed files with 1422 additions and 1578 deletions
@ -0,0 +1,40 @@ |
|||
// ==========================================================================
|
|||
// Squidex Headless CMS
|
|||
// ==========================================================================
|
|||
// Copyright (c) Squidex UG (haftungsbeschraenkt)
|
|||
// All rights reserved. Licensed under the MIT license.
|
|||
// ==========================================================================
|
|||
|
|||
using MongoDB.Bson.Serialization.Serializers; |
|||
using MongoDB.Bson.Serialization; |
|||
using MongoDB.Driver; |
|||
using MongoDB.Driver.Linq; |
|||
using Squidex.Infrastructure.Json.Objects; |
|||
|
|||
namespace Squidex.Infrastructure.MongoDb; |
|||
|
|||
public static class MongoClientFactory |
|||
{ |
|||
public static MongoClient Create(string? connectionString, Action<MongoClientSettings>? configure = null) |
|||
{ |
|||
// Allow all types, independent from the actual assembly.
|
|||
BsonSerializer.TryRegisterSerializer(new ObjectSerializer(type => true)); |
|||
|
|||
BsonDefaultConventions.Register(); |
|||
BsonDomainIdSerializer.Register(); |
|||
BsonEscapedDictionarySerializer<JsonValue, JsonObject>.Register(); |
|||
BsonInstantSerializer.Register(); |
|||
BsonJsonValueSerializer.Register(); |
|||
BsonStringSerializer<RefToken>.Register(); |
|||
|
|||
var clientSettings = MongoClientSettings.FromConnectionString(connectionString); |
|||
|
|||
// The current version of the linq provider has some issues with base classes.
|
|||
clientSettings.LinqProvider = LinqProvider.V2; |
|||
|
|||
// If we really need custom config.
|
|||
configure?.Invoke(clientSettings); |
|||
|
|||
return new MongoClient(clientSettings); |
|||
} |
|||
} |
|||
@ -1,68 +1,68 @@ |
|||
{ |
|||
id: Guid_1, |
|||
name: Guid_2, |
|||
version: 2, |
|||
canAccessContent: true, |
|||
Id: Guid_1, |
|||
Name: Guid_2, |
|||
Version: 2, |
|||
CanAccessContent: true, |
|||
_links: { |
|||
assets: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
assets/create: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
assets/scripts: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
backups: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
clients: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
contributors: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
image/delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
image/upload: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
languages: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
ping: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
plans: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
roles: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
rules: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
schemas: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
schemas/create: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
settings: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
transfer: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
workflows: { |
|||
method: GET |
|||
Method: GET |
|||
} |
|||
} |
|||
} |
|||
@ -1,68 +1,68 @@ |
|||
{ |
|||
id: Guid_1, |
|||
name: Guid_2, |
|||
version: 2, |
|||
canAccessContent: true, |
|||
Id: Guid_1, |
|||
Name: Guid_2, |
|||
Version: 2, |
|||
CanAccessContent: true, |
|||
_links: { |
|||
assets: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
assets/create: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
assets/scripts: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
backups: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
clients: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
contributors: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
image/delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
image/upload: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
languages: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
ping: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
plans: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
roles: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
rules: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
schemas: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
schemas/create: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
settings: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
transfer: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
workflows: { |
|||
method: GET |
|||
Method: GET |
|||
} |
|||
} |
|||
} |
|||
@ -1,14 +1,14 @@ |
|||
{ |
|||
id: Guid_1, |
|||
name: Guid_1, |
|||
role: Editor, |
|||
allowAnonymous: false, |
|||
Id: Guid_1, |
|||
Name: Guid_1, |
|||
Role: Editor, |
|||
AllowAnonymous: false, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
@ -1,26 +1,26 @@ |
|||
{ |
|||
items: [ |
|||
Items: [ |
|||
{ |
|||
id: default, |
|||
name: default, |
|||
role: Owner, |
|||
allowAnonymous: false, |
|||
Id: default, |
|||
Name: default, |
|||
Role: Owner, |
|||
AllowAnonymous: false, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
], |
|||
_links: { |
|||
create: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
self: { |
|||
method: GET |
|||
Method: GET |
|||
} |
|||
} |
|||
} |
|||
@ -1,42 +1,42 @@ |
|||
{ |
|||
items: [ |
|||
Items: [ |
|||
{ |
|||
id: default, |
|||
name: default, |
|||
role: Owner, |
|||
allowAnonymous: false, |
|||
Id: default, |
|||
Name: default, |
|||
Role: Owner, |
|||
AllowAnonymous: false, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
id: Guid_1, |
|||
name: My Client, |
|||
role: Owner, |
|||
apiCallsLimit: 100, |
|||
apiTrafficLimit: 200, |
|||
allowAnonymous: true, |
|||
Id: Guid_1, |
|||
Name: My Client, |
|||
Role: Owner, |
|||
ApiCallsLimit: 100, |
|||
ApiTrafficLimit: 200, |
|||
AllowAnonymous: true, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
], |
|||
_links: { |
|||
create: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
self: { |
|||
method: GET |
|||
Method: GET |
|||
} |
|||
} |
|||
} |
|||
@ -1,11 +1,11 @@ |
|||
{ |
|||
role: Developer, |
|||
Role: Developer, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: POST |
|||
Method: POST |
|||
} |
|||
} |
|||
} |
|||
@ -1,11 +1,11 @@ |
|||
{ |
|||
maxContributors: -1, |
|||
MaxContributors: -1, |
|||
_links: { |
|||
create: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
self: { |
|||
method: GET |
|||
Method: GET |
|||
} |
|||
} |
|||
} |
|||
@ -1 +0,0 @@ |
|||
|
|||
@ -1,68 +1,68 @@ |
|||
{ |
|||
id: Guid_1, |
|||
name: Guid_2, |
|||
version: 2, |
|||
canAccessContent: true, |
|||
Id: Guid_1, |
|||
Name: Guid_2, |
|||
Version: 2, |
|||
CanAccessContent: true, |
|||
_links: { |
|||
assets: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
assets/create: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
assets/scripts: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
backups: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
clients: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
contributors: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
image/delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
image/upload: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
languages: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
ping: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
plans: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
roles: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
rules: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
schemas: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
schemas/create: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
settings: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
transfer: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
workflows: { |
|||
method: GET |
|||
Method: GET |
|||
} |
|||
} |
|||
} |
|||
@ -1,46 +1,46 @@ |
|||
{ |
|||
items: [ |
|||
Items: [ |
|||
{ |
|||
iso2Code: en, |
|||
englishName: English, |
|||
isMaster: true, |
|||
isOptional: false |
|||
Iso2Code: en, |
|||
EnglishName: English, |
|||
IsMaster: true, |
|||
IsOptional: false |
|||
}, |
|||
{ |
|||
iso2Code: abc, |
|||
englishName: , |
|||
isMaster: false, |
|||
isOptional: false, |
|||
Iso2Code: abc, |
|||
EnglishName: , |
|||
IsMaster: false, |
|||
IsOptional: false, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
iso2Code: xyz, |
|||
englishName: , |
|||
isMaster: false, |
|||
isOptional: false, |
|||
Iso2Code: xyz, |
|||
EnglishName: , |
|||
IsMaster: false, |
|||
IsOptional: false, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
], |
|||
_links: { |
|||
create: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
self: { |
|||
method: GET |
|||
Method: GET |
|||
} |
|||
} |
|||
} |
|||
@ -1,46 +1,46 @@ |
|||
{ |
|||
items: [ |
|||
Items: [ |
|||
{ |
|||
iso2Code: en, |
|||
englishName: English, |
|||
isMaster: true, |
|||
isOptional: false |
|||
Iso2Code: en, |
|||
EnglishName: English, |
|||
IsMaster: true, |
|||
IsOptional: false |
|||
}, |
|||
{ |
|||
iso2Code: de, |
|||
englishName: German, |
|||
isMaster: false, |
|||
isOptional: false, |
|||
Iso2Code: de, |
|||
EnglishName: German, |
|||
IsMaster: false, |
|||
IsOptional: false, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
iso2Code: it, |
|||
englishName: Italian, |
|||
isMaster: false, |
|||
isOptional: false, |
|||
Iso2Code: it, |
|||
EnglishName: Italian, |
|||
IsMaster: false, |
|||
IsOptional: false, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
], |
|||
_links: { |
|||
create: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
self: { |
|||
method: GET |
|||
Method: GET |
|||
} |
|||
} |
|||
} |
|||
@ -1,32 +1,32 @@ |
|||
{ |
|||
items: [ |
|||
Items: [ |
|||
{ |
|||
iso2Code: en, |
|||
englishName: English, |
|||
isMaster: true, |
|||
isOptional: false |
|||
Iso2Code: en, |
|||
EnglishName: English, |
|||
IsMaster: true, |
|||
IsOptional: false |
|||
}, |
|||
{ |
|||
iso2Code: it, |
|||
englishName: Italian, |
|||
isMaster: false, |
|||
isOptional: true, |
|||
Iso2Code: it, |
|||
EnglishName: Italian, |
|||
IsMaster: false, |
|||
IsOptional: true, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
], |
|||
_links: { |
|||
create: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
self: { |
|||
method: GET |
|||
Method: GET |
|||
} |
|||
} |
|||
} |
|||
@ -1,49 +1,49 @@ |
|||
{ |
|||
items: [ |
|||
Items: [ |
|||
{ |
|||
iso2Code: en, |
|||
englishName: English, |
|||
isMaster: true, |
|||
isOptional: false |
|||
Iso2Code: en, |
|||
EnglishName: English, |
|||
IsMaster: true, |
|||
IsOptional: false |
|||
}, |
|||
{ |
|||
iso2Code: de, |
|||
englishName: German, |
|||
fallback: [ |
|||
Iso2Code: de, |
|||
EnglishName: German, |
|||
Fallback: [ |
|||
it |
|||
], |
|||
isMaster: false, |
|||
isOptional: true, |
|||
IsMaster: false, |
|||
IsOptional: true, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
iso2Code: it, |
|||
englishName: Italian, |
|||
isMaster: false, |
|||
isOptional: false, |
|||
Iso2Code: it, |
|||
EnglishName: Italian, |
|||
IsMaster: false, |
|||
IsOptional: false, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
], |
|||
_links: { |
|||
create: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
self: { |
|||
method: GET |
|||
Method: GET |
|||
} |
|||
} |
|||
} |
|||
@ -1,46 +1,46 @@ |
|||
{ |
|||
items: [ |
|||
Items: [ |
|||
{ |
|||
iso2Code: it, |
|||
englishName: Italian, |
|||
isMaster: true, |
|||
isOptional: false |
|||
Iso2Code: it, |
|||
EnglishName: Italian, |
|||
IsMaster: true, |
|||
IsOptional: false |
|||
}, |
|||
{ |
|||
iso2Code: de, |
|||
englishName: German, |
|||
isMaster: false, |
|||
isOptional: false, |
|||
Iso2Code: de, |
|||
EnglishName: German, |
|||
IsMaster: false, |
|||
IsOptional: false, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
}, |
|||
{ |
|||
iso2Code: en, |
|||
englishName: English, |
|||
isMaster: false, |
|||
isOptional: false, |
|||
Iso2Code: en, |
|||
EnglishName: English, |
|||
IsMaster: false, |
|||
IsOptional: false, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
], |
|||
_links: { |
|||
create: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
self: { |
|||
method: GET |
|||
Method: GET |
|||
} |
|||
} |
|||
} |
|||
@ -1,11 +1,11 @@ |
|||
{ |
|||
isDefaultRole: false, |
|||
IsDefaultRole: false, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
@ -1,11 +1,11 @@ |
|||
{ |
|||
isDefaultRole: false, |
|||
IsDefaultRole: false, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
@ -1,15 +1,15 @@ |
|||
{ |
|||
isDefaultRole: false, |
|||
permissions: [ |
|||
IsDefaultRole: false, |
|||
Permissions: [ |
|||
a, |
|||
b |
|||
], |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
@ -1,24 +1,24 @@ |
|||
{ |
|||
patterns: [ |
|||
Patterns: [ |
|||
{ |
|||
name: pattern, |
|||
regex: .* |
|||
Name: pattern, |
|||
Regex: .* |
|||
} |
|||
], |
|||
editors: [ |
|||
Editors: [ |
|||
{ |
|||
name: editor, |
|||
url: http://squidex.io/path/to/editor |
|||
Name: editor, |
|||
Url: http://squidex.io/path/to/editor |
|||
} |
|||
], |
|||
hideScheduler: false, |
|||
hideDateTimeModeButton: false, |
|||
HideScheduler: false, |
|||
HideDateTimeModeButton: false, |
|||
_links: { |
|||
self: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
@ -1,41 +1,41 @@ |
|||
{ |
|||
id: Guid_1, |
|||
name: Guid_2, |
|||
steps: { |
|||
Id: Guid_1, |
|||
Name: Guid_2, |
|||
Steps: { |
|||
Archived: { |
|||
transitions: { |
|||
Transitions: { |
|||
Draft: {} |
|||
}, |
|||
color: #eb3142, |
|||
validate: false, |
|||
noUpdate: true |
|||
Color: #eb3142, |
|||
Validate: false, |
|||
NoUpdate: true |
|||
}, |
|||
Draft: { |
|||
transitions: { |
|||
Transitions: { |
|||
Archived: {}, |
|||
Published: {} |
|||
}, |
|||
color: #8091a5, |
|||
validate: false, |
|||
noUpdate: false |
|||
Color: #8091a5, |
|||
Validate: false, |
|||
NoUpdate: false |
|||
}, |
|||
Published: { |
|||
transitions: { |
|||
Transitions: { |
|||
Archived: {}, |
|||
Draft: {} |
|||
}, |
|||
color: #4bb958, |
|||
validate: false, |
|||
noUpdate: false |
|||
Color: #4bb958, |
|||
Validate: false, |
|||
NoUpdate: false |
|||
} |
|||
}, |
|||
initial: Draft, |
|||
Initial: Draft, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
@ -1,10 +1,10 @@ |
|||
{ |
|||
_links: { |
|||
create: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
self: { |
|||
method: GET |
|||
Method: GET |
|||
} |
|||
} |
|||
} |
|||
@ -1,38 +1,38 @@ |
|||
{ |
|||
items: [ |
|||
Items: [ |
|||
{ |
|||
id: Guid_1, |
|||
name: Guid_2, |
|||
steps: { |
|||
Id: Guid_1, |
|||
Name: Guid_2, |
|||
Steps: { |
|||
Draft: { |
|||
transitions: { |
|||
Transitions: { |
|||
Published: {} |
|||
}, |
|||
validate: false, |
|||
noUpdate: false |
|||
Validate: false, |
|||
NoUpdate: false |
|||
}, |
|||
Published: { |
|||
validate: false, |
|||
noUpdate: false |
|||
Validate: false, |
|||
NoUpdate: false |
|||
} |
|||
}, |
|||
initial: Draft, |
|||
Initial: Draft, |
|||
_links: { |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
], |
|||
_links: { |
|||
create: { |
|||
method: POST |
|||
Method: POST |
|||
}, |
|||
self: { |
|||
method: GET |
|||
Method: GET |
|||
} |
|||
} |
|||
} |
|||
@ -1,47 +1,47 @@ |
|||
{ |
|||
id: Guid_1, |
|||
parentId: Guid_Empty, |
|||
fileName: logo-wide-rotated.jpg, |
|||
fileHash: TLNAlI4UM3i8O4IF/O7ZuH3PrI3+bsz4AsBt9NrEydI=, |
|||
isProtected: false, |
|||
slug: logo-wide-rotated.jpg, |
|||
mimeType: image/jpg, |
|||
fileType: jpg, |
|||
metadataText: 600x135px, 15.1 kB, |
|||
metadata: { |
|||
Id: Guid_1, |
|||
ParentId: Guid_Empty, |
|||
FileName: logo-wide-rotated.jpg, |
|||
FileHash: TLNAlI4UM3i8O4IF/O7ZuH3PrI3+bsz4AsBt9NrEydI=, |
|||
IsProtected: false, |
|||
Slug: logo-wide-rotated.jpg, |
|||
MimeType: image/jpg, |
|||
FileType: jpg, |
|||
MetadataText: 600x135px, 15.1 kB, |
|||
Metadata: { |
|||
description: JFIF File, |
|||
imageQuality: 79, |
|||
pixelHeight: 135, |
|||
pixelWidth: 600 |
|||
}, |
|||
tags: [ |
|||
Tags: [ |
|||
type/jpg, |
|||
image, |
|||
image/medium |
|||
], |
|||
fileSize: 15425, |
|||
type: Image, |
|||
FileSize: 15425, |
|||
Type: Image, |
|||
_links: { |
|||
content: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
content/slug: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
move: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
self: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
upload: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
@ -1,46 +1,46 @@ |
|||
{ |
|||
id: Guid_1, |
|||
parentId: Guid_Empty, |
|||
fileName: SampleAudio_0.4mb.mp3, |
|||
fileHash: 0pbi5CFhQWqqSVy37vaw8bUOg3k1tDrlK1ySXxDrmNE=, |
|||
isProtected: false, |
|||
slug: sampleaudio-0.4mb.mp3, |
|||
mimeType: audio/mp3, |
|||
fileType: mp3, |
|||
metadataText: 00:00:28.2708750, 433.5 kB, |
|||
metadata: { |
|||
Id: Guid_1, |
|||
ParentId: Guid_Empty, |
|||
FileName: SampleAudio_0.4mb.mp3, |
|||
FileHash: 0pbi5CFhQWqqSVy37vaw8bUOg3k1tDrlK1ySXxDrmNE=, |
|||
IsProtected: false, |
|||
Slug: sampleaudio-0.4mb.mp3, |
|||
MimeType: audio/mp3, |
|||
FileType: mp3, |
|||
MetadataText: 00:00:28.2708750, 433.5 kB, |
|||
Metadata: { |
|||
audioBitrate: 128, |
|||
audioChannels: 2, |
|||
audioSampleRate: 44100, |
|||
description: MPEG Version 1 Audio, Layer 3, |
|||
duration: 00:00:28.2708750 |
|||
}, |
|||
tags: [ |
|||
Tags: [ |
|||
type/mp3 |
|||
], |
|||
fileSize: 443926, |
|||
type: Audio, |
|||
FileSize: 443926, |
|||
Type: Audio, |
|||
_links: { |
|||
content: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
content/slug: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
move: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
self: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
upload: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
@ -1,45 +1,45 @@ |
|||
{ |
|||
id: Guid_1, |
|||
parentId: Guid_Empty, |
|||
fileName: SampleImage_700kb.bmp, |
|||
fileHash: LNQGH33R2ShAFTo54UlxKOKzBg8a+yjVaFgzwiHw2LQ=, |
|||
isProtected: false, |
|||
slug: sampleimage-700kb.bmp, |
|||
mimeType: image/bmp, |
|||
fileType: bmp, |
|||
metadataText: 600x400px, 703.2 kB, |
|||
metadata: { |
|||
Id: Guid_1, |
|||
ParentId: Guid_Empty, |
|||
FileName: SampleImage_700kb.bmp, |
|||
FileHash: LNQGH33R2ShAFTo54UlxKOKzBg8a+yjVaFgzwiHw2LQ=, |
|||
IsProtected: false, |
|||
Slug: sampleimage-700kb.bmp, |
|||
MimeType: image/bmp, |
|||
FileType: bmp, |
|||
MetadataText: 600x400px, 703.2 kB, |
|||
Metadata: { |
|||
pixelHeight: 400, |
|||
pixelWidth: 600 |
|||
}, |
|||
tags: [ |
|||
Tags: [ |
|||
type/bmp, |
|||
image, |
|||
image/medium |
|||
], |
|||
fileSize: 720054, |
|||
type: Image, |
|||
FileSize: 720054, |
|||
Type: Image, |
|||
_links: { |
|||
content: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
content/slug: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
move: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
self: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
upload: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
@ -1,45 +1,45 @@ |
|||
{ |
|||
id: Guid_1, |
|||
parentId: Guid_Empty, |
|||
fileName: SampleImage_700kb.bmp, |
|||
fileHash: LNQGH33R2ShAFTo54UlxKOKzBg8a+yjVaFgzwiHw2LQ=, |
|||
isProtected: false, |
|||
slug: sampleimage-700kb.bmp, |
|||
mimeType: image/bmp, |
|||
fileType: bmp, |
|||
metadataText: 600x400px, 703.2 kB, |
|||
metadata: { |
|||
Id: Guid_1, |
|||
ParentId: Guid_Empty, |
|||
FileName: SampleImage_700kb.bmp, |
|||
FileHash: LNQGH33R2ShAFTo54UlxKOKzBg8a+yjVaFgzwiHw2LQ=, |
|||
IsProtected: false, |
|||
Slug: sampleimage-700kb.bmp, |
|||
MimeType: image/bmp, |
|||
FileType: bmp, |
|||
MetadataText: 600x400px, 703.2 kB, |
|||
Metadata: { |
|||
pixelHeight: 400, |
|||
pixelWidth: 600 |
|||
}, |
|||
tags: [ |
|||
Tags: [ |
|||
type/bmp, |
|||
image, |
|||
image/medium |
|||
], |
|||
fileSize: 720054, |
|||
type: Image, |
|||
FileSize: 720054, |
|||
Type: Image, |
|||
_links: { |
|||
content: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
content/slug: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
move: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
self: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
upload: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
@ -1,46 +1,46 @@ |
|||
{ |
|||
id: Guid_1, |
|||
parentId: Guid_Empty, |
|||
fileName: SampleImage_150kb.gif, |
|||
fileHash: j+n9HuQJ0F4n5z0G29NfFlWJTuaGIW+eqw3NDOYCtU8=, |
|||
isProtected: false, |
|||
slug: sampleimage-150kb.gif, |
|||
mimeType: image/gif, |
|||
fileType: gif, |
|||
metadataText: 600x400px, 154.2 kB, |
|||
metadata: { |
|||
Id: Guid_1, |
|||
ParentId: Guid_Empty, |
|||
FileName: SampleImage_150kb.gif, |
|||
FileHash: j+n9HuQJ0F4n5z0G29NfFlWJTuaGIW+eqw3NDOYCtU8=, |
|||
IsProtected: false, |
|||
Slug: sampleimage-150kb.gif, |
|||
MimeType: image/gif, |
|||
FileType: gif, |
|||
MetadataText: 600x400px, 154.2 kB, |
|||
Metadata: { |
|||
description: GIF File, |
|||
pixelHeight: 400, |
|||
pixelWidth: 600 |
|||
}, |
|||
tags: [ |
|||
Tags: [ |
|||
type/gif, |
|||
image, |
|||
image/medium |
|||
], |
|||
fileSize: 157934, |
|||
type: Image, |
|||
FileSize: 157934, |
|||
Type: Image, |
|||
_links: { |
|||
content: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
content/slug: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
move: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
self: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
upload: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
@ -1,42 +1,42 @@ |
|||
{ |
|||
id: Guid_1, |
|||
parentId: Guid_Empty, |
|||
isProtected: false, |
|||
mimeType: image/gif, |
|||
fileType: blob, |
|||
metadataText: 600x400px, 154.2 kB, |
|||
metadata: { |
|||
Id: Guid_1, |
|||
ParentId: Guid_Empty, |
|||
IsProtected: false, |
|||
MimeType: image/gif, |
|||
FileType: blob, |
|||
MetadataText: 600x400px, 154.2 kB, |
|||
Metadata: { |
|||
pixelHeight: 400, |
|||
pixelWidth: 600 |
|||
}, |
|||
tags: [ |
|||
Tags: [ |
|||
type/blob, |
|||
image, |
|||
image/medium |
|||
], |
|||
fileSize: 157934, |
|||
type: Image, |
|||
FileSize: 157934, |
|||
Type: Image, |
|||
_links: { |
|||
content: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
content/slug: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
delete: { |
|||
method: DELETE |
|||
Method: DELETE |
|||
}, |
|||
move: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
self: { |
|||
method: GET |
|||
Method: GET |
|||
}, |
|||
update: { |
|||
method: PUT |
|||
Method: PUT |
|||
}, |
|||
upload: { |
|||
method: PUT |
|||
Method: PUT |
|||
} |
|||
} |
|||
} |
|||
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue